Bug #82968 InnoDB's estimate for rows-in-table can return rows=1 due to a race condition
Submitted: 13 Sep 2016 12:44 Modified: 19 Dec 2016 14:05
Reporter: Sergey Petrunya Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S2 (Serious)
Version:5.7.15 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:

[13 Sep 2016 12:45] Sergey Petrunya
Patch with debug printouts and execution pausing

Attachment: mdev10649-for-mysql5.7.diff (text/x-patch), 2.52 KiB.

[13 Sep 2016 12:47] Sergey Petrunya
Test file

Attachment: mdev10649-mysql57.test (application/octet-stream, text), 3.61 KiB.

[13 Sep 2016 12:49] Sergey Petrunya
Suggested patch

Attachment: mdev10649-r2.diff (text/x-patch), 2.27 KiB.

[14 Sep 2016 8:38] Sergey Petrunya
Example mysql-test execution output

Attachment: mdev10649-mysql57-log.txt (text/plain), 5.43 KiB.

[14 Sep 2016 14:05] SINISA MILIVOJEVIC
Output from Sergey's test

Attachment: bug82968.output (application/octet-stream, text), 5.16 KiB.