turn on ib_softcommit, savepoint tests now pass for DBD::InterBase
[dbsrgits/DBIx-Class-Historic.git] / lib / DBIx / Class / Storage / DBI / InterBase.pm
index 2908519..5f9e799 100644 (file)
@@ -163,6 +163,15 @@ sub _set_sql_dialect {
   }
 }
 
+# softcommit makes savepoints work
+sub _run_connection_actions {
+  my $self = shift;
+
+  $self->_dbh->{ib_softcommit} = 1;
+
+  $self->next::method(@_);
+}
+
 =head2 connect_call_datetime_setup
 
 Used as: