Bug #452 | SQLStatistics reports error with call to get Statistics for Table that does not | ||
---|---|---|---|
Submitted: | 20 May 2003 2:21 | Modified: | 4 Jun 2003 15:01 |
Reporter: | Stephen Dakin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 3.51 | OS: | Windows (Win 2000) |
Assigned to: | Bugs System | CPU Architecture: | Any |
[20 May 2003 2:21]
Stephen Dakin
[20 May 2003 21:54]
Venu Anuganti
Hi !! Thanks for the report. Its true that SQLColumns/SQLStatistics returns an error in case of non-existing table is used as szTableName argument; as this is directly mapped with SHOW syntax. As per the ODBC spec, it should return SQL_SUCCESS with 0 rows for this kind of cases; and currently it is returning SQL_ERROR. I just fixed this in 3.51 as well as in 3.52. Thanks Venu