[Phpmyadmin-devel] A problem with "Disable foreign key" option in import

Hello, When I check "Disable foreign key" option while importing, it doesn't seem working correctly. I tried `fk_test_import.sql` (attached) on DB created by `fk_test.sql` (attached). And it always gives "a foreign key constraint fails" error. I'm not sure if this is a bug or I am doing something wrong. Anyone? Thanks. -- Nisarg Jhaveri નિસર્ગ ઝવેરી

Nisarg Jhaveri a écrit :
Hello,
When I check "Disable foreign key" option while importing, it doesn't seem working correctly.
I tried `fk_test_import.sql` (attached) on DB created by `fk_test.sql` (attached). And it always gives "a foreign key constraint fails" error.
I'm not sure if this is a bug or I am doing something wrong. Anyone?
Thanks.
Hi Nisarg, nice test case! I can reproduce the bug in current master (5f1d65f84c0d5d9ba77b7915d8b0f379fe85f1f9). -- Marc Delisle (phpMyAdmin)
participants (2)
-
Marc Delisle
-
Nisarg Jhaveri