[freetds] support of SQL_ATTR_CONNECTION_DEAD

Nick Davis nick.davis at vidoop.com
Fri Jan 25 15:26:51 EST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080125/ad4fb051/attachment.bin 


More information about the FreeTDS mailing list