Start transactions in a portable manner
Ash Berlin [Wed, 16 Jan 2008 22:44:29 +0000 (22:44 +0000)]
lib/SQL/Translator/Diff.pm

index 7ee9fc1..3f71bfa 100644 (file)
@@ -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");