projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ee7a6e7
)
remove warning
Justin Hunter [Thu, 21 Oct 2010 21:57:41 +0000 (14:57 -0700)]
lib/SQL/Translator/Producer/SQL/MySQL.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Producer/SQL/MySQL.pm
b/lib/SQL/Translator/Producer/SQL/MySQL.pm
index
2690f72
..
55c1c0c
100644
(file)
--- a/
lib/SQL/Translator/Producer/SQL/MySQL.pm
+++ b/
lib/SQL/Translator/Producer/SQL/MySQL.pm
@@
-208,9
+208,7
@@
role SQL::Translator::Producer::SQL::MySQL {
});
}
}
-
-
- #warn "@table_defs\n";
+
push @table_defs, "SET foreign_key_checks=1";
return wantarray ? ($create ? $create : (), @create, @table_defs) : ($create . join('', map { $_ ? "$_;\n\n" : () } (@create, @table_defs)));
}