1. Bug in ODBC 1.35

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".

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu