Bug #27033 LAST_INSERT_ID returns 0 on using INSERT... ON DUPLICATE KEY UPDATE ...
Submitted: 11 Mar 2007 14:09 Modified: 20 Mar 2007 17:43
Reporter: Markus Wolters Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.37 OS:Windows (Windows 2003/Linux)
Assigned to: Evgeny Potemkin CPU Architecture:Any
Tags: insert, LAST_INSERT_ID, ON DUPLICATE KEY, regression

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: