projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
50ba8f0
)
make sure we pop the savepoint off the stack
Paul Mooney [Thu, 10 Mar 2016 11:10:44 +0000 (11:10 +0000)]
lib/DBIx/Class/Storage.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage.pm
b/lib/DBIx/Class/Storage.pm
index
4e9cdac
..
7a2ef13
100644
(file)
--- a/
lib/DBIx/Class/Storage.pm
+++ b/
lib/DBIx/Class/Storage.pm
@@
-431,9
+431,9
@@
sub svp_release {
if (defined $name) {
my @stack = @{ $self->savepoints };
- my $svp;
+ my $svp = pop @stack;
- while (@stack and $stack[-1] ne $name) {
+ while (@stack and $svp ne $name) {
$svp = pop @stack
};