Bug #33910 SQLGetDiagRec Returns 0 with no error message
Submitted: 17 Jan 2008 22:49 Modified: 13 May 2008 15:53
Reporter: John Water
Status: Closed
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 Target Version:
Tags: ODBC, SQLGetDiagRec
Triage: D4 (Minor)

File: Maximum allowed size is 500KB.
Description:
Privacy:

If the data you need to attach is more than 500KB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (example: bug-data-33910.zip), and use FTP to upload the archive to ftp://ftp.mysql.com/pub/mysql/upload/. Once you have uploaded the file, add a comment to this bug to notify us about it. Note: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it.

All entries become the exclusive editorial property of Sun Microsystems, Inc.

[9 Apr 2008 4: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.