Bug #32014 | MyODBC / ADO Unable to open record set using dynamic cursor | ||
---|---|---|---|
Submitted: | 1 Nov 2007 0:16 | Modified: | 14 Dec 2007 15:59 |
Reporter: | Erica Moss | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 5.1.0 | OS: | Windows (win xp sp 2) |
Assigned to: | Lawrenty Novitsky | CPU Architecture: | Any |
[1 Nov 2007 0:16]
Erica Moss
[1 Nov 2007 0:22]
Erica Moss
Added testcase for this problem to the ADO conformance test suite: ado-compliance\trunk\bugs\32014.vbs
[7 Nov 2007 14:04]
Susanne Ebrecht
Hi Eric, many thanks, for writing a bug report. Please, can you add the trace file here. Susanne
[8 Nov 2007 7:49]
Erica Moss
ODBC trace for ADO bug testcase ado-compliance\trunk\bugs\32014.vbs
Attachment: SQL.LOG (application/octet-stream, text), 107.31 KiB.
[30 Nov 2007 21:49]
Lawrenty Novitsky
Patch fixing error in reporting SQL_SCROLL_OPTIONS to an application
Attachment: bug32014.diff (application/octet-stream, text), 659 bytes.
[3 Dec 2007 17:03]
Jim Winstead
The : before SQL_SO_STATIC should be on the preceding line (and replaced with a space, so SQL_SO_STATIC is lined up how it is now). And there needs to be test cases to make sure this doesn't regress. See t_bug7445 in my_basics.c for an example of a test that makes additional connections with different DSN options.
[3 Dec 2007 22:25]
Jess Balint
I suggest this syntax for clarity: MYINFO_SET_ULONG(SQL_SO_FORWARD_ONLY | ((dbc->flag & FLAG_FORWARD_CURSOR) ? 0 : SQL_SO_STATIC) | ((dbc->flag & FLAG_DYNAMIC_CURSOR) ? SQL_SO_DYNAMIC : 0));
[6 Dec 2007 16:26]
Lawrenty Novitsky
Patch fixing this bug has been committed to the repository, and will be in 5.1.1.
[14 Dec 2007 15:59]
MC Brown
A note has been added to the 5.1.1 changelog: ADO was unable to open record set using dynamic cursor.