From: Johannes Plunien Date: Sat, 1 Nov 2008 20:38:13 +0000 (+0000) Subject: add semicolon to CREATE TRIGGER after END which i have removed before accidentally X-Git-Tag: v0.11008~285 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d8886a3750f26f89e5a4f947aabcb2dad0e2d19f;p=dbsrgits%2FSQL-Translator.git add semicolon to CREATE TRIGGER after END which i have removed before accidentally --- diff --git a/lib/SQL/Translator/Producer/Oracle.pm b/lib/SQL/Translator/Producer/Oracle.pm index 4a3a8e0..0677910 100644 --- a/lib/SQL/Translator/Producer/Oracle.pm +++ b/lib/SQL/Translator/Producer/Oracle.pm @@ -634,7 +634,7 @@ sub create_field { " SELECT $seq_name.nextval\n" . " INTO :new." . $field->name."\n" . " FROM dual;\n" . - "END\n/"; + "END;\n/"; ; } @@ -647,7 +647,7 @@ sub create_field { "FOR EACH ROW WHEN (new.$field_name_ur IS NULL)\n". "BEGIN \n". " SELECT sysdate INTO :new.$field_name_ur FROM dual;\n". - "END\n/"; + "END;\n/"; } push @field_defs, $field_def;