yeah, cos two hash copies in five lines is really handy and essential
Matt S Trout [Sun, 9 Jul 2006 23:50:00 +0000 (23:50 +0000)]
lib/DBIx/Class/ResultSet.pm

index 7a405ce..56dac88 100644 (file)
@@ -710,7 +710,7 @@ sub _resolved_attrs {
   # XXX - lose storable dclone
   my $record_filter = delete $attrs->{record_filter};
   #$attrs = Storable::dclone($attrs || {}); # { %{ $attrs || {} } };
-  $attrs = { %{ $attrs || {} } };
+
   $attrs->{record_filter} = $record_filter if $record_filter;
 
   $attrs->{columns} ||= delete $attrs->{cols} if exists $attrs->{cols};