Bug #51004 | MultiQuery from Callable vs Prepared Statements - UpdateCounts are different | ||
---|---|---|---|
Submitted: | 8 Feb 2010 18:23 | Modified: | 25 Feb 2010 15:43 |
Reporter: | Sean Warner | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.1.10 | OS: | MacOS (10.3.9) |
Assigned to: | CPU Architecture: | Any | |
Tags: | CallableStatement, Connector J, jdbc, multiquery, MySQL, PreparedStatement, ResultSet, updatecount |
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
[8 Feb 2010 18:26]
Sean Warner
[8 Feb 2010 18:26]
Sean Warner
This is the Prepared Statement Version
Attachment: UpdateCountB.java (text/plain), 5.78 KiB.
[8 Feb 2010 18:27]
Sean Warner
Output from running UpdateCountA.java
Attachment: UpdateCountA - Output.txt (text/plain), 1.23 KiB.
[8 Feb 2010 18:28]
Sean Warner
Output from running UpdateCountB.java
Attachment: UpdateCountB - Output.txt (text/plain), 1.21 KiB.