[ODBC-46] MicroFocus COBOL and MariaDB 31 bit ODBC - FETCH returns corrupt data Created: 2016-07-20 Updated: 2018-05-21 Resolved: 2018-05-21 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 2.0.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | David | Assignee: | Lawrin Novitsky |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows 10, Microfocus Visual COBOL - Eclipse version MariaDB 10 and ODBC 31 bit driver |
||
| Attachments: |
|
| Description |
|
simple table called 'family' with 1 column - 'name' defined as char(20) COBOL source: exec sql when I run the MicroFocus debugger the first value fetched contains this corruption: for some reason x'100000' is overlaid in the char string. We are also seeing a SQLCODE = 1 suggesting a truncation of some sort. If I run the select and specify INTO OUTFILE 'debug' Recreated this using different tables and columns - same corruption occurs. We have confirmed that this same program works fine when run against SQL Server. I then installed the MYSQL 31 bit ODBC driver version 5.3.6 and used that instead of the Maria DB 31 bit ODBC driver -and the MYSQL connector works fine. |
| Comments |
| Comment by Lawrin Novitsky [ 2016-07-21 ] |
|
Could you please provide ODBC trace for your testcase? Unfortunately we don't have MS Visual Cobol by hand to re-create your bug. |
| Comment by Lawrin Novitsky [ 2016-07-21 ] |
|
I don't say "there is no bug". But I do need more info to be able to find where is the bug and eventually fix it. For that I asked you ODBC trace for your COBOL testcase run(https://support.microsoft.com/en-us/kb/274551) |
| Comment by David [ 2016-07-21 ] |
|
I ran the ODBC tracing as requested. The DSN in use is daviddsn. |
| Comment by David [ 2016-07-21 ] |
|
if it helps, I also ran the ODBC trace using the MYSQL ODBC connector that works - the DSN is 'mysql31BitA' . |
| Comment by Lawrin Novitsky [ 2018-03-30 ] |
|
Hello David, I know it's been quite a while, I am sorry for that. But the thing is that we could't find error based on your trace files, and we don't have other ways to approach the problem. Otherwise we will close the issue. |
| Comment by Lawrin Novitsky [ 2018-05-21 ] |
|
I am closing this bug. You are free to re-open it, if the problem persist with latest versions. |