Bug #85530 MySql and SQL_CALC_FOUND_ROWS. It seems to be disabling the order by clause.
Submitted: 18 Mar 2017 5:22 Modified: 18 Apr 2017 20:11
Reporter: Phil Wilson Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: DML Severity:S3 (Non-critical)
Version:5.7.15-0ubuntu0.16.04.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: order by, SELECT, sql_calc_found_rows

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: