Commit 60b07d33 authored by Magali Ruffier's avatar Magali Ruffier Committed by GitHub
Browse files

Merge pull request #14 from danstaines/master

turn off FK checks to allow InnoDB test dbs
parents 66ef81ee 30fea30f
......@@ -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