Bug #98817 | Syntax error while using SQLPutData for large binary data | ||
---|---|---|---|
Submitted: | 3 Mar 2020 15:53 | Modified: | 3 Sep 2020 20:47 |
Reporter: | Jean-Christophe Voogden | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 8.0.19 | OS: | Windows |
Assigned to: | CPU Architecture: | x86 |
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
[3 Mar 2020 15:54]
Jean-Christophe Voogden
[5 May 2020 9:45]
Jean-Christophe Voogden
Test case
Attachment: images.c (text/plain), 5.17 KiB.
[5 May 2020 9:52]
Jean-Christophe Voogden
modified test case for 64bits
Attachment: images.c (text/plain), 5.16 KiB.