From: Daniel Ruoso Date: Mon, 21 Apr 2008 12:09:44 +0000 (+0000) Subject: Small fix in delay_constraints (missing ;). X-Git-Tag: v0.11008~317 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=943ae54e805ef2205c01df65e461a879e7cbf76e;p=dbsrgits%2FSQL-Translator.git Small fix in delay_constraints (missing ;). --- diff --git a/lib/SQL/Translator/Producer/Oracle.pm b/lib/SQL/Translator/Producer/Oracle.pm index 98f78c9..f7083e8 100644 --- a/lib/SQL/Translator/Producer/Oracle.pm +++ b/lib/SQL/Translator/Producer/Oracle.pm @@ -408,7 +408,7 @@ sub create_table { ($options->{delay_constraints} ? () : @constraint_defs) ) . "\n)$table_options;"; - @constraint_defs = map { 'ALTER TABLE '.$table_name_ur.' ADD '.$_ } + @constraint_defs = map { 'ALTER TABLE '.$table_name_ur.' ADD '.$_.';' } @constraint_defs; if ( $WARN ) {