From: Peter Rabbitson Date: Tue, 30 Jun 2009 10:40:46 +0000 (+0000) Subject: clarify X-Git-Tag: v0.08108~45 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1d613d0c3bcff60652c2f49e6c5b95539a1e2b7f;p=dbsrgits%2FDBIx-Class.git clarify --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index 554023b..9b13307 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -799,7 +799,7 @@ sub set_column { else { # do a numeric comparison if datatype allows it my $colinfo = $self->column_info ($column); - # cache for speed + # cache for speed (the object may *not* have a resultsource instance) if (not defined $colinfo->{is_numeric} && $self->_source_handle) { $colinfo->{is_numeric} = $self->result_source->schema->storage->is_datatype_numeric ($colinfo->{data_type})