projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3498dc0
)
Really really fail if the savepoint is not on the stack
Paul Mooney [Thu, 10 Mar 2016 11:16:22 +0000 (11:16 +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
7a2ef13
..
893d022
100644
(file)
--- a/
lib/DBIx/Class/Storage.pm
+++ b/
lib/DBIx/Class/Storage.pm
@@
-438,7
+438,7
@@
sub svp_release {
};
$self->throw_exception ("Savepoint '$name' does not exist")
- unless $svp;
+ unless $svp and $svp eq $name;
$self->savepoints(\@stack); # put back what's left
}