From: Justin Hunter Date: Thu, 21 Oct 2010 21:57:41 +0000 (-0700) Subject: remove warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7c0c824064029336ff14db243ba59f0b4dbe4a14;p=dbsrgits%2FSQL-Translator-2.0-ish.git remove warning --- diff --git a/lib/SQL/Translator/Producer/SQL/MySQL.pm b/lib/SQL/Translator/Producer/SQL/MySQL.pm index 2690f72..55c1c0c 100644 --- 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))); }