[MDEV-19891] CREATE TABLE statement printed by SHOW CREATE TABLE fails with (errno: 150 "Foreign key constraint is incorrectly formed") Created: 2019-06-27 Updated: 2019-07-05 Resolved: 2019-07-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Create Table |
| Affects Version/s: | 10.3.15, 10.4.6 |
| Fix Version/s: | 10.3.15 |
| Type: | Bug | Priority: | Major |
| Reporter: | Ulrich Moser (Inactive) | Assignee: | Anel Husakovic |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
Ubuntu Server 18.04 LTS and MariaDB 10.4.6 |
||
| Description |
|
When I issue SHOW CREATE TABLE city in the world sample database and take that statement to create an identical table in a different schema I get the error mentioned above.
|
| Comments |
| Comment by Anel Husakovic [ 2019-06-27 ] |
|
Hi umoser, |
| Comment by Anel Husakovic [ 2019-07-03 ] |
|
Hi umoser, |
| Comment by Ulrich Moser (Inactive) [ 2019-07-05 ] |
|
No idea what the reason was. Tried the same the other day and it worked. |