From: Rafael Kitover Date: Sun, 15 Nov 2009 17:31:37 +0000 (+0000) Subject: fix MSSQL via DBD::Sybase regression X-Git-Tag: v0.08116~139 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=909079951fd374262416c6f0a3cae0da3d25cd16;p=dbsrgits%2FDBIx-Class.git fix MSSQL via DBD::Sybase regression --- diff --git a/lib/DBIx/Class/Storage/DBI/Sybase.pm b/lib/DBIx/Class/Storage/DBI/Sybase.pm index 8cb5f5f..5ade896 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase.pm @@ -191,6 +191,8 @@ sub _populate_dbh { $self->next::method(@_); + return unless $self->_driver_determined; # otherwise we screw up MSSQL + if ($self->_is_bulk_storage) { # this should be cleared on every reconnect $self->_began_bulk_work(0);