projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e9fe476
)
No nested transactions in SQLite.
Jess Robinson [Wed, 9 May 2007 22:42:11 +0000 (22:42 +0000)]
lib/DBIx/Class/Storage/DBI/SQLite.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/DBI/SQLite.pm
b/lib/DBIx/Class/Storage/DBI/SQLite.pm
index
02a3c51
..
a714510
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/SQLite.pm
+++ b/
lib/DBIx/Class/Storage/DBI/SQLite.pm
@@
-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