Bug #68108 Executing dump file ignores /*!40014 SET FOREIGN_KEY_CHECKS=0 */;

Submitted: 17 Jan 2013 17:49 Modified: 1 Feb 2013 6:08
Reporter: Ken Allen Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.44 OS:MacOS (10.8.2)
Assigned to: CPU Architecture:Any

[17 Jan 2013 17:49] Ken Allen
Description:
Produced a dump file from one system, which includes the following line (actually editing to remove the saving of the previous setting; forced back to 1 at the end of the script in a similar comment):

/*!40014 SET FOREIGN_KEY_CHECKS=0 */;

When dump file execute in SQLWorkBench, it fails on one of the tables with this error:

Error Code: 1217. Cannot delete or update a parent row: a foreign key constraint fails

If I execute the same file from the command line interface, it executes without error!

How to repeat:
Simply execute a dump file that involved referential integrity; fails in the work bench but will succeed from the command line.
[1 Feb 2013 6:08] MySQL Verification Team
Hello Ken,

Thank you for the report.

I can not repeat described behavior on 5.2.45

Regards,
Umesh
[1 Feb 2013 6:09] MySQL Verification Team
Activity log used for 68108

Attachment: 68108.txt (text/plain), 7.77 KiB.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.