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: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Unsupported ct_con_props property CS_SERVERNAME
  • Date: Tue, 21 Oct 2003 21:45:32 -0400

On Tue, 21 Oct 2003, "Thompson, Bill D (London)" <bill_d_thompson AT ml.com>
wrote:
> see you're answering your early morning mail!

One of those days.... :-)

> 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 ?

Would depend on the API, nes pas? I can imagine reasons for both, but I'd
hope the docs would be clear.

--jkl


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




Archive powered by MHonArc 2.6.24.

Top of Page