Bug #72318 Stored function throws error 1137 if temporary table was not created right then
Submitted: 11 Apr 2014 17:36 Modified: 14 Apr 2014 17:54
Reporter: Dillon Sadofsky Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Stored Routines Severity:S3 (Non-critical)
Version:5.6.14-log OS:Any
Assigned to: CPU Architecture:Any
Tags: error 1137, stored procedure, temporary table

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: