freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME
- From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME
- Date: Mon, 20 Oct 2003 14:02:04 +0200
> >
> > Michael Peppler wrote:
> > > BTW - CS_SERVERNAME is still supported in recent OpenClient
> > versions.
> >
> > Oh ? That'd be great, no code changes. Can you please point out my
> > idiocy and tell me where I might find the definition of it ?
>
> Michael meant exactly what he said, Patrick, that it's
> supported in recent versions of Sybase OpenClient, not just
> the ancient ones.
>
> If I may make a suggestion, why not change our code instead
> of yours? Implement CS_SERVERNAME as "select @@servername".
> It's safe to make ct-lib calls from within ct-lib, as long as
> no results are pending.
>
> We should issue that query immediately on connecting, and
> cache the name for later querying, but I can't find anywhere
> that we do that.
>
I think so...
In ODBC there is a similar attribute. Instead of querying the server in
ODBC we use first msg from server (see odbc_errmsg_handler in
src/odbc/odbc.c). Perhaps we should move that code in libTDS ?
freddy77
-
RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME,
Lowden, James K, 10/16/2003
- <Possible follow-up(s)>
-
RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME,
ZIGLIO Frediano, 10/20/2003
-
Re: [freetds] Unsupported ct_con_props property CS_SERVERNAME,
James K. Lowden, 10/20/2003
- [freetds] ICONV, UTF-8, and language fun on OpenVMS - 0.62, Patrick Spinler, 10/28/2003
-
Re: [freetds] Unsupported ct_con_props property CS_SERVERNAME,
James K. Lowden, 10/20/2003
- RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME, ZIGLIO Frediano, 10/21/2003
-
RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME,
Thompson, Bill D (London), 10/21/2003
- Re: [freetds] Unsupported ct_con_props property CS_SERVERNAME, James K. Lowden, 10/21/2003
- RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME, ZIGLIO Frediano, 10/22/2003
- RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME, Thompson, Bill D (London), 10/22/2003
- RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME, Thompson, Bill D (London), 10/24/2003
Archive powered by MHonArc 2.6.24.