dolt
dolt copied to clipboard
Some cases need resolving ForeignKeyConstraints when ForeignKeyCheck is off
When FK check is off, we currently ignore all FK constraints for any statements. According to MySql documentations on FK check, there are couple cases that needs FK constraints check:
- re-creating a dropped table
-
ALTER TABLE
operation
The example to reproduce the bug is here