Bug #26934 | SQLTables behavior has changed | ||
---|---|---|---|
Submitted: | 7 Mar 2007 20:15 | Modified: | 6 Jul 2007 2:43 |
Reporter: | Joe Roberts | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 3.51.14GA | OS: | Windows (Windows 2000 Server) |
Assigned to: | Jess Balint | CPU Architecture: | Any |
[7 Mar 2007 20:15]
Joe Roberts
[7 Mar 2007 21:02]
Steven Saunders
SQLTables() also returns 0 (SUCCESS) and no error code is set if it called after the connection is invalided, not just a timeout on the server side. Server could be stopped, restarted, etc.
[11 Apr 2007 15:05]
Tonci Grgin
Hi Joe and thanks for your report. Verified as described with MyODBC 3.51.14GA using generic MS ODBC client odbcte32.exe (which btw. crashed:) on GetDataAll ). In no way should we return SQL_SUCCESS, but for time being, 3.51.14 has Reconnect property which helps (if checked of course).
[21 Jun 2007 16:46]
Jess Balint
patch + test
Attachment: bug26934.diff (application/octet-stream, text), 11.44 KiB.
[6 Jul 2007 2:43]
Paul DuBois
Noted in 3.51.17 changelog. Fixed error handling of out-of-memory and bad connections in catalog functions. This might raise errors in code paths that had ignored them in the past.