From: Justin Hunter Date: Sun, 23 Aug 2009 07:00:03 +0000 (-0700) Subject: don't set schema to ->parse (->translator->schema already gets updated) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2038b040f707cb07b52ad0b96514d4b9077ce3a6;p=dbsrgits%2FSQL-Translator-2.0-ish.git don't set schema to ->parse (->translator->schema already gets updated) --- diff --git a/lib/SQL/Translator.pm b/lib/SQL/Translator.pm index 5726794..72541f9 100644 --- a/lib/SQL/Translator.pm +++ b/lib/SQL/Translator.pm @@ -104,7 +104,7 @@ class SQL::Translator { $self->schema; } elsif ($producer) { $self->_clear_producer; - $self->schema($self->parse($data)) if $data; + $self->parse($data) if $data; $self->producer($producer); $self->produce; }