make insert only use a txn if needed, add connect_call_unsafe_insert
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / Sybase / NoBindVars.pm
index 78bf807..02676db 100644 (file)
@@ -11,7 +11,7 @@ use Scalar::Util ();
 sub _rebless {
   my $self = shift;
   $self->disable_sth_caching(1);
-  $self->_insert_txn(0);
+  $self->insert_txn(0);
 }
 
 # this works when NOT using placeholders