Skip to Content.
Sympa Menu

freetds - Re: [freetds] support of SQL_ATTR_CONNECTION_DEAD

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] support of SQL_ATTR_CONNECTION_DEAD
  • Date: Mon, 28 Jan 2008 09:29:24 +0100

>
> Hello,
>
> I'm trying to get my code working with the FreeTDS driver
> (0.64) on Mac
> OS X, and notice that the attribute SQL_ATTR_CONNECTION_DEAD isn't
> supported when I call SQLGetConnectAttr; FreeTDS returns
> "HY092:[FreeTDS][SQL Server]Invalid option".
>
> SQL_ATTR_CONNECTION_DEAD is new as of ODBC 3.5, and I believe
> the driver
> hasn't been updated to support it. A cursory glance in
> odbc.c shows a
> switch/case of various connection attributes, except this one.
>
> My question is: are there any efforts underway to add ODBC
> 3.5 features
> to the driver, including the CONNECTION_DEAD attribute? I've checked
> the latest current release and the attribute is still missing
> from the
> implementation of SQLGetConnectAttr in odbc.c.
>
> Thanks,
>
> Nick
>

See
http://freetds.cvs.sourceforge.net/freetds/freetds/src/odbc/odbc.c?r1=1.
468&r2=1.469

James, do you think should I backport the patch??

Why not packaging a 0.82rc2 ??

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page