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:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.0.20 OS:Linux (Redhat ES 3)
Assigned to: CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

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:

[31 Jan 2005 5:10] Shu SATO
Simple java client program to reproduce

Attachment: SQLTest06.java (application/octet-stream, text), 2.27 KiB.

[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.