# ODBC uses dialect 3 by default, good
sub _set_sql_dialect { 1 }
+# releasing savepoints doesn't work, but that shouldn't matter
+sub _svp_release { 1 }
+
1;
=head1 CAVEATS
This driver (unlike L<DBD::InterBase>) does not currently support reading or
writing C<TIMESTAMP> values with sub-second precision.
+=item *
+
+Releasing savepoints does not work, but you should still be able to safely use
+savepoints.
+
=back
=head1 AUTHOR
my $schema;
-foreach my $conn_idx (0..1) {
+foreach my $conn_idx (0..$#info) {
my ($dsn, $user, $pass) = @{ $info[$conn_idx] || [] };
next unless $dsn;
die "rolling back outer txn";
});
};
+
+ like $@, qr/rolling back outer txn/,
+ 'correct exception for rollback';
+
ok ((not $ars->search({ name => 'in_outer_txn' })->first),
'outer txn rolled back');