undef,
'rollback from inner transaction';
+ # make sure a fresh txn will work after above
+ $schema->storage->txn_do(sub { ok "noop" } );
+
### cleanupz
$schema->storage->dbh->do ("DROP TABLE artist");
}}
done_testing;
END {
- eval { $schema->storage->dbh->do ("DROP TABLE artist") } if defined $schema;
+ eval { $schema->storage->dbh_do(sub { $_[1]->do("DROP TABLE artist") }) } if defined $schema;
undef $schema;
}