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: Tue, 21 Oct 2003 10:09:06 +0200
> > > Implement CS_SERVERNAME as "select @@servername".
> ...
> > > 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).
>
> I thought I remembered that somewhere....
>
> > Perhaps we should move that code in libTDS ?
>
> What to do if the client wants to know the servername before
> we get the first message?
>
First message came just after login so before you are disconnected. A
trick should be to set servername to FreeTDS one and then when
connect_info is not NULL but seem too paranoid... Perhaps the only
exception is on connection timeout calling handler functions.
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.