Bug #43831 | SQLPutData doesn't work for MEDIUMTEXT | ||
---|---|---|---|
Submitted: | 24 Mar 2009 13:26 | Modified: | 18 Nov 2009 15:59 |
Reporter: | Gerhard Lutz | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 3.51.27 and 5.01.05 | OS: | Windows (XP) |
Assigned to: | CPU Architecture: | Any |
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:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[26 Mar 2009 8:36]
Gerhard Lutz
[26 Mar 2009 8:37]
Gerhard Lutz
Sample code in C that worked
Attachment: CLOBTest.cpp (text/plain), 6.05 KiB.
[8 Apr 2009 16:41]
Miguel Solorzano
call stack
Attachment: bug43831.txt (text/plain), 7.62 KiB.
[9 Apr 2009 6:49]
Gerhard Lutz
ODBC Trace Log
Attachment: ODBC_SQL.LOG (application/octet-stream, text), 145.94 KiB.
[9 Apr 2009 6:50]
Gerhard Lutz
New corresponding Mini Dump
Attachment: Dump01.dmp (application/octet-stream, text), 53.84 KiB.