Bug #94400 Imported Foreign Keys don't work if defined before the referenced table
Submitted: 19 Feb 2019 23:22 Modified: 1 Apr 2019 17:56
Reporter: Tim Düsterhus Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: DML Severity:S2 (Serious)
Version:8.0.15 OS:Debian (mysql:8 Docker Container)
Assigned to: CPU Architecture:x86 (amd64)

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:

[19 Feb 2019 23:23] Tim Düsterhus
dump.sql reproducing the issue

Attachment: dump.sql (application/sql, text), 524 bytes.

[19 Feb 2019 23:23] Tim Düsterhus
Transcript of MySQL 5.7.25 showing no issue.

Attachment: mysql-5.txt (text/plain), 1.82 KiB.

[19 Feb 2019 23:23] Tim Düsterhus
Transcript of MySQL 8.0.15 showing the issue.

Attachment: mysql-8.txt (text/plain), 1.86 KiB.

[11 Mar 2019 14:13] Tim Düsterhus
Transcript of MySQL 8.0.13 showing no issue.

Attachment: mysql-8.0.13.txt (text/plain), 1.86 KiB.

[11 Mar 2019 14:13] Tim Düsterhus
Transcript of MySQL 8.0.14 showing the issue.

Attachment: mysql-8.0.14.txt (text/plain), 1.86 KiB.