No nested transactions in SQLite.
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / SQLite.pm
index 02a3c51..a714510 100644 (file)
@@ -45,6 +45,15 @@ sub backup
   return $backupfile;
 }
 
+sub txn_begin
+{
+  my $self = shift;
+  return if(!$self->{transaction_depth});
+
+  $self->next::method(@_);
+}
+
+
 1;
 
 =head1 NAME