From: Peter Rabbitson Date: Tue, 12 Feb 2013 11:47:51 +0000 (+0100) Subject: Remove ResultSourceHandle check in inflate_result X-Git-Tag: v0.08240~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a34c76c2391de12c939f22e4dba875374aea1f66;p=dbsrgits%2FDBIx-Class.git Remove ResultSourceHandle check in inflate_result A isa() check is expensive, and it seems like the work in 4376a1574 made it entirely superfluous --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index a5e0e12..6ee598b 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -1181,9 +1181,6 @@ L, see L. sub inflate_result { my ($class, $source, $me, $prefetch) = @_; - $source = $source->resolve - if $source->isa('DBIx::Class::ResultSourceHandle'); - my $new = bless { _column_data => $me, _result_source => $source }, ref $class || $class