From: Rafael Kitover Date: Mon, 14 Sep 2009 13:44:06 +0000 (+0000) Subject: minor change (fix inverted boolean for warning) X-Git-Tag: v0.08112~14^2~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2563aa9b940f39a063bd696494623aaacbcf3cd2;p=dbsrgits%2FDBIx-Class.git minor change (fix inverted boolean for warning) --- diff --git a/lib/DBIx/Class/Storage/DBI/Sybase.pm b/lib/DBIx/Class/Storage/DBI/Sybase.pm index 792252f..b3f8c4b 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase.pm @@ -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.