Skip to Content.
Sympa Menu

freetds - Re: [freetds] setting the default database ("asa database")

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] setting the default database ("asa database")
  • Date: Wed, 4 Jun 2014 05:46:40 +0100

2014-05-30 16:27 GMT+01:00 <samuel.ferencik AT barclays.com>:

> Hi,
>
> In FreeTDS 0.91, the asa database<
> http://freetds.schemamania.org/userguide/freetdsconf.htm#ASA.DATABASE>
> feature seems broken. See below for the patch.
>
> Thanks,
> Sam
>
> Left file: src\tds\config#2.c
> Right file: src\tds\config#3.c
> 227c227
> < tdsdump_log(TDS_DBG_INFO1, "Final connection
> parameters:\n");
> ---
> > tdsdump_log(TDS_DBG_INFO1, "Final connection
> parameters from DSN [freetds.conf]:\n");
> 252c252
> < tdsdump_log(TDS_DBG_INFO1, "\t%20s = %s\n",
> "database", tds_dstr_cstr(&connection->database));
> ---
> > tdsdump_log(TDS_DBG_INFO1, "\t%20s = %s\n",
> "asa database", tds_dstr_cstr(&connection->database));
> 626c626
> < tds_dstr_copy(&connection->server_name,
> value);
> ---
> > tds_dstr_copy(&connection->database, value);
>
>
Hi,
try to understand what your patch is trying to to without any context is
really hard. What's your problem and why you had to change it? "database"
and "asa database" are two completely different things

Frediano



  • Re: [freetds] setting the default database ("asa database"), Frediano Ziglio, 06/04/2014

Archive powered by MHonArc 2.6.24.

Top of Page