Bug #46411 | SQLPrepare causes Prefetch of table | ||
---|---|---|---|
Submitted: | 27 Jul 2009 16:43 | Modified: | 27 Dec 2011 21:11 |
Reporter: | Cyrill Müller | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S4 (Feature request) |
Version: | 5.1/3.51 | OS: | Linux |
Assigned to: | Lawrenty Novitsky | CPU Architecture: | Any |
Tags: | Prefetch, SQLNumResultCols, SQLPrepare |
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
[29 Jul 2009 12:22]
Cyrill Müller
[30 Jul 2009 10:15]
Bogdan Degtyariov
test case
Attachment: bug46411.c (text/plain), 3.91 KiB.
[19 Mar 2010 21:25]
Lawrenty Novitsky
Patch for the bug. Uses statement MAX_ROWS attribute
Attachment: patch46411.diff (text/x-diff), 2.29 KiB.