Bug #3291 | SQLFetchScroll generates error 516 when used on dynamic cursor | ||
---|---|---|---|
Submitted: | 25 Mar 2004 4:44 | Modified: | 2 Jul 2004 0:06 |
Reporter: | Ben Weijers | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 3.51.06.00 | OS: | Windows (Windows XP) |
Assigned to: | Timothy Smith | CPU Architecture: | Any |
[25 Mar 2004 4:44]
Ben Weijers
[25 Mar 2004 4:51]
Ben Weijers
Problem text
Attachment: mysqlbug.txt (text/plain), 4.15 KiB.
[2 Jul 2004 0:06]
Timothy Smith
I tried to repeat this, both on FreeBSD and Windows XP. When I run my test program (which I am attaching to this bug - check the Files section), I get 7 rows fetched (with ID 4 - 10). Can you please modify my test program so that it shows the error you 're getting? By the way, I'm using Borland's C++ builder on Windows, and gcc on Unix. I tested MyODBC 3.51.07 against MySQL 4.0.20.
[2 Jul 2004 0:07]
Timothy Smith
test SQLFetchScroll - please modify so that it shows your bug
Attachment: fetchscroll.c (application/octet-stream, text), 10.66 KiB.
[2 Jul 2005 16:25]
Jeremy
Hi, i got the same error with SQLExtendedFetch and dynamic recordsets. I use the CRecordset class from the MFC with Visual C++ 6.0 on Windows 2000. The installed MySQL server version is 4.0.17 and MyODBC has version 3.51.11. I'm new to MySQL but wrote a lot of different C/C++ programs running over ODBC with MS SQL Server, DB2 UDB, MS Access. The program I tested uses encrypted strings and try to write this strings into varchar fields. There are no problems with MS SQL Server and MS Access over ODBC with "dynasets" and this kind of data. I hope you can find and fix that problem in your ODBC driver, so I can go on with testing. Regards, Jeremy P.S. By the way, the Testprogram is not GPL licensed, it's just Freeware. So no source code is available to you.