[Rt-commit] r3976 - in DBIx-SearchBuilder/trunk: . SearchBuilder
jesse at bestpractical.com
jesse at bestpractical.com
Mon Oct 17 00:19:37 EDT 2005
Author: jesse
Date: Mon Oct 17 00:19:36 2005
New Revision: 3976
Modified:
DBIx-SearchBuilder/trunk/ (props changed)
DBIx-SearchBuilder/trunk/SearchBuilder/Handle.pm
Log:
r17425 at hualien: jesse | 2005-10-17 00:09:27 -0400
* rt.cpan.org: Update ticket #3057 (rollback problems)
( rolling back when there was no transaction depth could cause inconsistent state)
Modified: DBIx-SearchBuilder/trunk/SearchBuilder/Handle.pm
==============================================================================
--- DBIx-SearchBuilder/trunk/SearchBuilder/Handle.pm (original)
+++ DBIx-SearchBuilder/trunk/SearchBuilder/Handle.pm Mon Oct 17 00:19:36 2005
@@ -702,7 +702,7 @@
my $self = shift;
my $force = shift || undef;
#unless ($TRANSDEPTH) {Carp::confess("Attempted to rollback a transaction with none in progress")};
- $TRANSDEPTH--;
+ $TRANSDEPTH-- if ($TRANSDEPTH >= 1);
if ($force) {
$TRANSDEPTH = 0;
More information about the Rt-commit
mailing list