# i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports
# brain damage and presumably various other packaging systems too
-$VERSION = '0.08099_01';
+$VERSION = '0.08099_02';
$VERSION = eval $VERSION; # numify for warning-free dev releases
$self->[0] = 1;
}
-sub dismiss {
- my $self = shift;
-
- $self->[0] = 1;
-}
-
sub DESTROY {
my ($dismiss, $storage) = @{$_[0]};
return if $dismiss;
my $exception = $@;
- Carp::cluck("A DBIx::Class:: went out of scope without explicit commit/dismiss")
+ Carp::cluck("A DBIx::Class::Storage::TxnScopeGuard went out of scope without explicit commit or an error - bad")
unless $exception;
{
local $@;
=head1 NAME
-DBIx::Class::Storage::TxnScopeGuard
+DBIx::Class::Storage::TxnScopeGuard - Experimental
=head1 SYNOPSIS
};
my $err = $@;
ok(($err eq ''), 'Pre-connection nested transactions.');
+ $schema2->storage->disconnect;
}
+$schema->storage->disconnect;
# Test txn_scope_guard
{