Skip to Content.
Sympa Menu

freetds - [freetds] support of SQL_ATTR_CONNECTION_DEAD

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Nick Davis" <nick.davis AT vidoop.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] support of SQL_ATTR_CONNECTION_DEAD
  • Date: Fri, 25 Jan 2008 14:26:51 -0600

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.24.

Top of Page