[unixODBC-dev] RHEL 5 Linux UnixODBC/Freetds

Nick Gorham nick at lurcher.org
Fri Apr 12 07:54:27 BST 2013

On 12/04/13 02:37, Prasanna Srinivasan wrote:
> Am trying to move my compiled C code that connects to mssql database
> servers from using the datadirect odbc drivers to using the unixodbc
> driver manager (version 2.3.1)/ freetds drivers (version 0.91) which
> are already compiled for 64 bit and available to me.
> Am able to successfully compile it on 64 bit RHEL5 Linux by linking in
> libodbc which has already been compiled. But I get the error
> net.c:350: tds_select: Assertion 'timeout_seconds >= 0' failed
> multiple times when I run the code and the database connection fails.

Thats from the driver not unixODBC. I would guess its debug relating to 
timeouts not being implemented. I would ask the freetds folk, or suggest 
another driver (I am biased, the Easysoft one comes to mind :-)).


More information about the unixODBC-dev mailing list