projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
589594a
)
fix MSSQL via DBD::Sybase regression
Rafael Kitover [Sun, 15 Nov 2009 17:31:37 +0000 (17:31 +0000)]
lib/DBIx/Class/Storage/DBI/Sybase.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/DBI/Sybase.pm
b/lib/DBIx/Class/Storage/DBI/Sybase.pm
index
8cb5f5f
..
5ade896
100644
(file)
--- 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);