From: Arthur Axel 'fREW' Schmidt Date: Thu, 10 Jan 2013 02:27:34 +0000 (-0600) Subject: Add semicolon to generated SQL for "correctness" X-Git-Tag: v0.002204~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=870526b16b12b766329625d6316d6270ad7fa329;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git Add semicolon to generated SQL for "correctness" --- diff --git a/Changes b/Changes index 5858095..e9e285c 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for {{$dist->name}} {{$NEXT}} + - Add semicolon to generated SQL for "correctness" 0.002203 2012-11-17 16:38:24 CST6CDT - Put MetaYAML back in dist diff --git a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm index 50ff451..9f9b971 100644 --- a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm +++ b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm @@ -525,7 +525,7 @@ sub _prepare_install { } } open my $file, q(>), $filename; - print {$file} join ";\n", @$sql; + print {$file} join ";\n", @$sql, ''; close $file; } }