Commit c1cf914
committed
Fixed a case when parent table does not have records,
Fk table tries to insert entries from previous table
and gets an error Failed to add constraint during alter
Now if parent table has 0 records, then fk table will also be empty1 parent 6305c08 commit c1cf914
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1739 | 1739 | | |
1740 | 1740 | | |
1741 | 1741 | | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
1742 | 1747 | | |
1743 | 1748 | | |
1744 | 1749 | | |
| |||
0 commit comments