minor change (fix inverted boolean for warning)
Rafael Kitover [Mon, 14 Sep 2009 13:44:06 +0000 (13:44 +0000)]
lib/DBIx/Class/Storage/DBI/Sybase.pm

index 792252f..b3f8c4b 100644 (file)
@@ -475,7 +475,7 @@ sub insert_bulk {
 
   if ((not $use_bulk_api) &&
       (Scalar::Util::reftype($self->_dbi_connect_info->[0])||'') eq 'CODE' &&
-      $self->_bulk_disabled_due_to_coderef_connect_info_warned) {
+      (not $self->_bulk_disabled_due_to_coderef_connect_info_warned)) {
     carp <<'EOF';
 Bulk API support disabled due to use of a CODEREF connect_info. Reverting to
 array inserts.