From: Peter Rabbitson Date: Thu, 24 Sep 2009 07:16:11 +0000 (+0000) Subject: Fix RT#27438 X-Git-Tag: v0.11008~85 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9d35bb6b9b48b3cd9d4466aae5c792869edd05d6;p=dbsrgits%2FSQL-Translator.git Fix RT#27438 --- diff --git a/script/sqlt b/script/sqlt index 091c250..01870b0 100755 --- a/script/sqlt +++ b/script/sqlt @@ -283,8 +283,8 @@ my $translator = SQL::Translator->new( no_comments => $no_comments || 0, show_warnings => $show_warnings || 0, add_drop_table => $add_drop_table || 0, - quote_table_names => $quote_table_names || 1, - quote_field_names => $quote_field_names || 1, + quote_table_names => defined $quote_table_names ? $quote_table_names : 1, + quote_field_names => defined $quote_field_names ? $quote_field_names : 1, validate => $validate || 0, parser_args => { trim_fields => $no_trim ? 0 : 1,