Corrected spelling of TRANSACTION in code reading sql upgrade script.
Nigel Metheringham [Mon, 30 Jun 2008 14:30:11 +0000 (14:30 +0000)]
Pointed out by renormalist on IRC.

lib/DBIx/Class/Schema/Versioned.pm

index e264f22..e790a92 100644 (file)
@@ -342,7 +342,7 @@ sub _read_sql_file {
   @data = split(/;/, join('', @data));
   close($fh);
   @data = grep { $_ && $_ !~ /^-- / } @data;
-  @data = grep { $_ !~ /^(BEGIN TRANACTION|COMMIT)/m } @data;
+  @data = grep { $_ !~ /^(BEGIN TRANSACTION|COMMIT)/m } @data;
   return \@data;
 }