Bug #83504 | SQLSetStmtAttr FAILS | ||
---|---|---|---|
Submitted: | 24 Oct 2016 16:43 | Modified: | 31 Oct 2016 10:55 |
Reporter: | Adam Manley | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 5.03.06.00 | OS: | Windows (Windows 8.1) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Concurency, ODBC, SQLSetStmtAttr |
[24 Oct 2016 16:43]
Adam Manley
[24 Oct 2016 17:15]
MySQL Verification Team
Please provide the complete test code file using Files tab. Thanks in advance.
[25 Oct 2016 12:40]
Adam Manley
Example program file to reproduce the bug
Attachment: odbcsql.cpp (text/plain), 22.75 KiB.
[25 Oct 2016 12:43]
Adam Manley
The file I uploaded is an edited version of the example / test code from: https://code.msdn.microsoft.com/windowsapps/ODBC-sample-191624ae See my comments and code inserted near "Test MySQL..." Hope this helps & Best of luck
[31 Oct 2016 10:55]
Bogdan Degtyariov
Hi Adam, Unfortunately, the Connector/ODBC does not support the cursor sensitivity. Therefore, any options other than SQL_UNSPECIFIED are going to end with the same error. This is so because of the limitations in MySQL network protocol. There is really no way for a cursor to be sensitive to any data changes because once the query is executed the result should be treated rather as a momentary snapshot of the data than something with a cursor. Regretfully I must say this functionality is not supported and the bug is closed as such. Sorry for the inconvenience.