I know that Sybase and MS SQL Server support affected row counts, so why does the FreeTDS connection return -1s for affected rows?
Before version 0.53, calling the FreeTDS function to get the number of affected rows would cause a segmentation fault. As of version 0.32, SQL Relay figures out what version of FreeTDS is installed at compile time and only enables affected rows if the FreeTDS version is greater than 0.52. If you compile against an earlier version of FreeTDS, a -1 is returned for affected rows as if the database didn’t support the feature.
Related Questions
- I know that Sybase and MS SQL Server support affected row counts, so why does the FreeTDS connection return -1s for affected rows?
- Does MS SQL Maestro support XML data type for storing documents in Microsoft SQL Server 2005 table columns?
- Does MS SQL Maestro support Microsoft SQL Server 2005 user-defined types?