return 1;
}
-sub begin_work {
- my $self = shift;
- die "Transactions are not supported by this engine"
- unless $self->supports('transactions');
-
- if ( $self->in_txn ) {
- DBM::Deep->_throw_error( "Cannot begin_work within an active transaction" );
- }
-
- $self->storage->begin_work;
-
- $self->in_txn( 1 );
-
- return 1;
-}
-
-sub rollback {
- my $self = shift;
- die "Transactions are not supported by this engine"
- unless $self->supports('transactions');
-
- if ( !$self->in_txn ) {
- DBM::Deep->_throw_error( "Cannot rollback without an active transaction" );
- }
-
- $self->storage->rollback;
-
- $self->in_txn( 0 );
-
- return 1;
-}
-
-sub commit {
- my $self = shift;
- die "Transactions are not supported by this engine"
- unless $self->supports('transactions');
-
- if ( !$self->in_txn ) {
- DBM::Deep->_throw_error( "Cannot commit without an active transaction" );
- }
-
- $self->storage->commit;
-
- $self->in_txn( 0 );
-
- return 1;
-}
-
-sub in_txn {
- my $self = shift;
- $self->{in_txn} = shift if @_;
- $self->{in_txn};
-}
+#sub begin_work {
+# my $self = shift;
+# die "Transactions are not supported by this engine"
+# unless $self->supports('transactions');
+#
+# if ( $self->in_txn ) {
+# DBM::Deep->_throw_error( "Cannot begin_work within an active transaction" );
+# }
+#
+# $self->storage->begin_work;
+#
+# $self->in_txn( 1 );
+#
+# return 1;
+#}
+#
+#sub rollback {
+# my $self = shift;
+# die "Transactions are not supported by this engine"
+# unless $self->supports('transactions');
+#
+# if ( !$self->in_txn ) {
+# DBM::Deep->_throw_error( "Cannot rollback without an active transaction" );
+# }
+#
+# $self->storage->rollback;
+#
+# $self->in_txn( 0 );
+#
+# return 1;
+#}
+#
+#sub commit {
+# my $self = shift;
+# die "Transactions are not supported by this engine"
+# unless $self->supports('transactions');
+#
+# if ( !$self->in_txn ) {
+# DBM::Deep->_throw_error( "Cannot commit without an active transaction" );
+# }
+#
+# $self->storage->commit;
+#
+# $self->in_txn( 0 );
+#
+# return 1;
+#}
+#
+#sub in_txn {
+# my $self = shift;
+# $self->{in_txn} = shift if @_;
+# $self->{in_txn};
+#}
sub supports {
my $self = shift;