Bug #34271 c/ODBC 5.1 does not list table fields in MSQRY32
Submitted: 4 Feb 2008 10:29 Modified: 26 Feb 2008 10:45
Reporter: Tonci Grgin Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:5.1.2 r1012 OS:Windows
Assigned to: Jess Balint CPU Architecture:Any

[4 Feb 2008 10:29] Tonci Grgin
Description:
After listing tables it is impossible to use MSQRY any further. No error text available, just empty error box.

How to repeat:
Try using MSQRY32 with c/ODBC 5.1

Suggested fix:
-
[4 Feb 2008 10:30] Tonci Grgin
DM trace

Attachment: DMtrace.zip (application/x-zip-compressed, text), 2.92 KiB.

[4 Feb 2008 10:31] Tonci Grgin
Tested with 2 versions of 5.1.2.
[9 Feb 2008 0:36] Jess Balint
fix+test

Attachment: bug34271.diff (application/octet-stream, text), 1.60 KiB.

[9 Feb 2008 0:37] Jess Balint
SQL_UNBIND was implemented incorrectly and "old" descriptor records were returned.
[23 Feb 2008 17:52] Jess Balint
Committed as rev 1045, will be released in 5.1.3.
[26 Feb 2008 10:45] MC Brown
A note has been added to the 5.1.3 changelog: 

Descriptor records were not cleared correctly when calling
    SQLFreeStmt(SQL_UNBIND).