Skip to Content.
Sympa Menu

freetds - RE: [freetds] Unsupported ct_con_props property CS_SERVERNAME

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <bill_d_thompson AT ml.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 13:01:21 +0100

Hey James,

see you're answering your early morning mail!

We could also ask - do we give them the (logical) server name they thought
they connected to (i.e. our entry in freetds.conf) or the real server name
we have connected to ?

Bill

> -----Original Message-----
> From: James K. Lowden [SMTP:jklowden AT schemamania.org]
> Sent: 21 October 2003 03:09
> To: FreeTDS Development Group
> Subject: Re: [freetds] Unsupported ct_con_props property
> CS_SERVERNAME
>
> On Mon, 20 Oct 2003 14:02:04 +0200, "ZIGLIO Frediano"
> <Frediano.Ziglio AT vodafone.com> wrote:
> > > 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?
>
> --jkl
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page