Commit 30fea30f authored by Dan Staines's avatar Dan Staines
Browse files

turn off FK checks to allow InnoDB test dbs

parent 66ef81ee
......@@ -463,9 +463,11 @@ sub load_sql {
$sql_com =~ s/;$//;
my @statements = split( /;/, $sql_com );
$db->do("set foreign_key_checks = 0");
foreach my $sql (@statements) {
$db->do($sql);
}
$db->do("set foreign_key_checks = 1");
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment