dolt icon indicating copy to clipboard operation
dolt copied to clipboard

Some cases need resolving ForeignKeyConstraints when ForeignKeyCheck is off

Open jennifersp opened this issue 2 years ago • 0 comments

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

jennifersp avatar Feb 21 '22 18:02 jennifersp