Comment 2 for bug 969726

Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

I added a test for your code and, in the process, found, tested, and fixed a drop_swap bug: if a child table was specified to which no other tables referenced, the tool would unset --alter-fk-method, but if --alter-fk-method drop_swap was specified, then the tool also unset --swap-tables and --drop-old-table but it did not re-set these when it unset --alter-fk-method, so the table was never modified.