Bug #79340 UNION ALL ... LIMIT 1 evaluates too many rows in 5.5/6 and twice more in 5.7
Submitted: 19 Nov 2015 14:40 Modified: 16 Aug 2019 19:19
Reporter: Guilhem Bichot Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S2 (Serious)
Version:5.7.9 OS:Any
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: