Bug #39956 getGenerateyKeys() does not respect auto_increment_increment variable
Submitted: 9 Oct 2008 16:00 Modified: 14 Oct 2008 14:21
Reporter: Christian Schwanke Email Updates:
Status: Closed Impact on me:
Category:Connector / J Severity:S1 (Critical)
Version:5.1.6 OS:Any
Assigned to: Mark Matthews CPU Architecture:Any
Tags: autoincrement, generated keys

File: Maximum allowed size is 50MB.

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:

[10 Oct 2008 6:41] Christian Schwanke
Patch/Diff for the ConnectionImpl class. The auto_increment_increment variable is added

Attachment: ConnectionImpl.patch (application/octet-stream, text), 1.06 KiB.

[10 Oct 2008 6:42] Christian Schwanke
Added retrieval of auto_increment_increment variable and modified getGeneratedKeysInternal accordingly

Attachment: StatementImpl.patch (application/octet-stream, text), 1.18 KiB.