Bug #75830 Triggers cause statements using LAST_INSERT_ID(X) to return wrong value
Submitted: 9 Feb 2015 20:35 Modified: 9 Feb 2015 21:02
Reporter: Gavin Towey Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Stored Routines Severity:S2 (Serious)
Version:5.5, 5.6 OS:Any
Assigned to: CPU Architecture:Any
Tags: LAST_INSERT_ID, triggers

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:

[9 Feb 2015 21:01] Sveta Smirnova
C code, demonstrating same issue - this is not PHP fault.

Attachment: bug75830.c (text/x-csrc), 926 bytes.