Bug #62271 With FLAG_NO_CACHE, SQLFetch doesn't report errors correctly
Submitted: 26 Aug 2011 19:32 Modified: 26 Sep 2011 3:31
Reporter: Craig Holmquist Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:5.1.8 OS:Windows (XP SP3)
Assigned to: Bogdan Degtyariov CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[26 Aug 2011 19:32] Craig Holmquist
SQL to create test database

Attachment: testfetch.sql (text/plain), 425 bytes.

[26 Aug 2011 19:33] Craig Holmquist
Python script to test bug

Attachment: testfetch.py (text/plain), 420 bytes.

[29 Aug 2011 12:11] Craig Holmquist
ODBC trace

Attachment: SQL.LOG (text/plain), 34.41 KiB.

[2 Sep 2011 9:19] Bogdan Degtyariov
C test case

Attachment: bug62271.c (text/plain), 3.82 KiB.

[5 Sep 2011 7:17] Bogdan Degtyariov
test build part 1

Attachment: myodbc5-win32-r984.dll.zip.001 (application/octet-stream, text), 488.28 KiB.

[5 Sep 2011 7:18] Bogdan Degtyariov
test build part 2

Attachment: myodbc5-win32-r984.dll.zip.002 (application/octet-stream, text), 391.33 KiB.