From: Ash Berlin Date: Wed, 16 Jan 2008 22:44:29 +0000 (+0000) Subject: Start transactions in a portable manner X-Git-Tag: v0.11008~348^2~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1664676a6e1d59e5e8c20eeba41c6136f8ab8619;p=dbsrgits%2FSQL-Translator.git Start transactions in a portable manner --- diff --git a/lib/SQL/Translator/Diff.pm b/lib/SQL/Translator/Diff.pm index 7ee9fc1..3f71bfa 100644 --- a/lib/SQL/Translator/Diff.pm +++ b/lib/SQL/Translator/Diff.pm @@ -244,7 +244,7 @@ sub produce_diff_sql { } if (@diffs) { - unshift @diffs, "BEGIN TRANSACTION;\n"; + unshift @diffs, "BEGIN;\n"; push @diffs, "\nCOMMIT;\n"; } else { @diffs = ("-- No differences found\n\n");