From: Arthur Axel 'fREW' Schmidt Date: Thu, 10 Mar 2011 04:01:59 +0000 (-0600) Subject: dead X-Git-Tag: v0.11011~27^2~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=837afeae39fda253857fd8c2c0b3039e1540fef3;p=dbsrgits%2FSQL-Translator.git dead --- diff --git a/lib/SQL/Translator/Producer/SQLServer.pm b/lib/SQL/Translator/Producer/SQLServer.pm index e4373e2..0208141 100644 --- a/lib/SQL/Translator/Producer/SQLServer.pm +++ b/lib/SQL/Translator/Producer/SQLServer.pm @@ -9,16 +9,12 @@ $DEBUG = 1 unless defined $DEBUG; use Data::Dumper; use SQL::Translator::Schema::Constants; use SQL::Translator::Utils qw(debug header_comment); -use SQL::Translator::Generator::Utils; use SQL::Translator::Generator::DDL::SQLServer; -my $util = SQL::Translator::Generator::Utils->new( quote_chars => ['[', ']'] ); my $future = SQL::Translator::Generator::DDL::SQLServer->new(); sub produce { my $translator = shift; - $DEBUG = $translator->debug; - $WARN = $translator->show_warnings; my $no_comments = $translator->no_comments; my $add_drop_table = $translator->add_drop_table; my $schema = $translator->schema; @@ -81,7 +77,7 @@ sub produce { return $output; } -sub unreserve { $util->quote($_[0]) } +sub unreserve { $future->quote($_[0]) } 1;