X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FTranslator%2FProducer%2FTTSchema.pm;h=36f62b6ab978b85464adffe590b1faaa0ffa4cb6;hb=fce0f0b5b8782189bf6f15b01b590fa135097dc1;hp=5885d3b0638442d0e3277fe473c2b276abb0e28a;hpb=a1c9c64f601668626864d327aa076d9586b10c4b;p=dbsrgits%2FSQL-Translator.git diff --git a/lib/SQL/Translator/Producer/TTSchema.pm b/lib/SQL/Translator/Producer/TTSchema.pm index 5885d3b..36f62b6 100644 --- a/lib/SQL/Translator/Producer/TTSchema.pm +++ b/lib/SQL/Translator/Producer/TTSchema.pm @@ -138,7 +138,7 @@ sub produce { my %tt_conf = exists $args->{tt_conf} ? %{$args->{tt_conf}} : (); # sqlt passes the producer args for _all_ producers in, so we use this # grep hack to test for the old usage. - debug(Dumper(\%tt_conf)); + debug(Dumper(\%tt_conf)) if $DEBUG; if ( grep /^[A-Z_]+$/, keys %$args ) { warn "Template config directly in the producer args is deprecated." ." Please use 'tt_conf' instead.\n";