1. Bug in ODBC 1.35
- Posted by m_sabal Mar 15, 2018
- 998 views
This past week, I came across a bug in odbc.e on line 1741. Some versions of Microsoft's ODBC driver for SQL Server are now returning negative integers for null values. I changed line 1741 from
if len = SQL_NULL_DATA then
to
if len = SQL_NULL_DATA or len<=0 then
This fixed the bug. The error actually came a few lines later with a message along the lines of "Nothing to peek".