Re: setting the default database ("asa database")
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CAHt6W4c-7O_XQJ4OqYviz0YgPmj6h2-YAB=vDGc97MVX3GakXQ@mail.gmail.com> |
2014-05-30 16:27 GMT+01:00 <[email protected]>: > 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