Skip to Content.
Sympa Menu

freetds - [freetds] FreeTDS issue with SQL_ATTR_QUERY_TIMEOUT

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Bhagya Prasad" <bhprasad AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] FreeTDS issue with SQL_ATTR_QUERY_TIMEOUT
  • Date: Thu, 30 Oct 2008 10:31:46 +0530

Hi,
We are using FreeTDS version 0.82 to connect to MSSQL Server 2005. One
issue I observed was that, whenever we set SQL_ATTR_QUERY_TIMEOUT it takes
twice the amount of time to return than the specified value if the server is
not available.

For example, if I set the query timeout to 10 seconds, it returns after 20
seconds.

Is this an issue or behavior? Is there a spec on the implementation of
timeouts in FreeTDS which I can refer to ?


Thanks,
Bhagya




Archive powered by MHonArc 2.6.24.

Top of Page