Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: <samuel.ferencik AT barclays.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] setting the default database ("asa database")
  • Date: Fri, 30 May 2014 16:27:54 +0100

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);

_______________________________________________

This message is for information purposes only, it is not a recommendation,
advice, offer or solicitation to buy or sell a product or service nor an
official confirmation of any transaction. It is directed at persons who are
professionals and is not intended for retail customer use. Intended for
recipient only. This message is subject to the terms at:
www.barclays.com/emaildisclaimer.

For important disclosures, please see:
www.barclays.com/salesandtradingdisclaimer regarding market commentary from
Barclays Sales and/or Trading, who are active market participants; and in
respect of Barclays Research, including disclosures relating to specific
issuers, please see http://publicresearch.barclays.com.

_______________________________________________



  • [freetds] setting the default database ("asa database"), samuel.ferencik, 05/30/2014

Archive powered by MHonArc 2.6.24.

Top of Page