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: Mon, 20 Oct 2003 22:09:24 -0400

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