Bug #8064 | With sjis config, inserting some data into blob column causes "Syntax error" | ||
---|---|---|---|
Submitted: | 21 Jan 2005 9:13 | Modified: | 28 Jan 2005 14:13 |
Reporter: | Shu SATO | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.20 | OS: | Linux (Redhat ES 3) |
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
[31 Jan 2005 5:10]
Shu SATO
[31 Jan 2005 5:12]
Shu SATO
Results of 'show variables' in reproduction environment
Attachment: showvars.txt (text/plain), 3.19 KiB.
[31 Jan 2005 7:43]
Shu SATO
a patch kindly provided by Hiromichi Mizuno
Attachment: sql_lex.cc.patch (application/octet-stream, text), 763 bytes.
[31 Jan 2005 8:05]
Shu SATO
Unit test cases for Hiromichi's patch
Attachment: BlobSJISTest.java (application/octet-stream, text), 19.96 KiB.
[1 Feb 2005 8:30]
Shu SATO
A patch for PreparedStatement.java of Connector/J 3.0.16
Attachment: PreparedStatement.java.patch (application/octet-stream, text), 2.82 KiB.