Skip to Content.
Sympa Menu

freetds - Re: [freetds] Sybase ASA 9, unixODBC multiple connection problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Sybase ASA 9, unixODBC multiple connection problem
  • Date: Mon, 28 Jan 2008 21:46:16 -0500

ZIGLIO, Frediano, VF-IT wrote:
> > } else if (!strcmp(option, TDS_STR_INSTANCE)) {
> > tds_dstr_copy(&connection->instance_name, value);
> > } else if (!strcmp(option, TDS_STR_ENCRYPTION)) {
> > tds_config_encryption(value, connection);
> > + } else if (!strcmp(option, "asa database")) {
> > + tds_dstr_copy(&connection->server_name, value);
...
> I think that if it works correctly is very useful, main problem with ASA
> is due to servername limit...

I hope it gets tested. It would be useful and better than my envar hack.


Only thing I would change is to move the option string to a constant, say,
TDS_STR_ASA_DATABASE.

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page