Bug #59722 | values is corrupted in the buffer when sqlfetch fetch more than one rows | ||
---|---|---|---|
Submitted: | 25 Jan 2011 19:19 | Modified: | 9 Jan 2015 16:15 |
Reporter: | JUI-PIN JAO | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 5.01.08.00 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[25 Jan 2011 19:19]
JUI-PIN JAO
[10 Feb 2011 9:18]
Bogdan Degtyariov
Thank you for your bug report. Setting the status to 'verified'. The problem is caused by incorrect offset value that corresponds to SQL_C_SBIGINT type. For row #2 the offset is 7 bytes instead of 8. See the complete C test case uploaded below.
[10 Feb 2011 9:20]
Bogdan Degtyariov
C test case
Attachment: bug_59722.c (text/plain), 3.15 KiB.