From: Nigel Metheringham Date: Mon, 30 Jun 2008 14:30:11 +0000 (+0000) Subject: Corrected spelling of TRANSACTION in code reading sql upgrade script. X-Git-Tag: v0.08240~417 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ced42e95705fbb1fc7f9b58797ca77049d31e61f;p=dbsrgits%2FDBIx-Class.git Corrected spelling of TRANSACTION in code reading sql upgrade script. Pointed out by renormalist on IRC. --- diff --git a/lib/DBIx/Class/Schema/Versioned.pm b/lib/DBIx/Class/Schema/Versioned.pm index e264f22..e790a92 100644 --- a/lib/DBIx/Class/Schema/Versioned.pm +++ b/lib/DBIx/Class/Schema/Versioned.pm @@ -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; }