Bug #33910 | SQLGetDiagRec Returns 0 with no error message | ||
---|---|---|---|
Submitted: | 17 Jan 2008 21:49 | Modified: | 13 May 2008 13:53 |
Reporter: | John Water | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 5.1 beta | OS: | Linux (Linux XXX 2.6.11.7 #1 SMP Mon Jan 29 15:19:26 EST 2007 x86_64 x86_64 x86_64 GNU/Linux) |
Assigned to: | Jim Winstead | CPU Architecture: | Any |
Tags: | ODBC, SQLGetDiagRec |
[17 Jan 2008 21:49]
John Water
[9 Apr 2008 2:24]
Jim Winstead
Fix detection of when there are no errors. Could not construct a test for the test suite for this, but verified with supplied code.
Attachment: bug33910.diff (text/plain), 362 bytes.
[9 Apr 2008 13:13]
Lawrenty Novitsky
approved
[9 Apr 2008 16:59]
Jim Winstead
The fix for this bug has been committed, and will be part of the 5.1.4 release.
[13 May 2008 13:53]
Paul DuBois
Noted in 5.1.4 changelog. On Linux, SQLGetDiagRec() returned SQL_SUCCESS in cases when it should have returned SQL_NO_DATA.