From: Matt S Trout Date: Mon, 7 Oct 2013 11:40:53 +0000 (+0000) Subject: Add forgotten bit preventing scan of where-binds (originally part of 1b8f2dd9) X-Git-Tag: v0.082800~29 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a9e985b78735ff61e4443139aa510915222cd550;p=dbsrgits%2FDBIx-Class.git Add forgotten bit preventing scan of where-binds (originally part of 1b8f2dd9) --- diff --git a/lib/DBIx/Class/Storage/DBIHacks.pm b/lib/DBIx/Class/Storage/DBIHacks.pm index 4c0da07..f8f908d 100644 --- a/lib/DBIx/Class/Storage/DBIHacks.pm +++ b/lib/DBIx/Class/Storage/DBIHacks.pm @@ -416,7 +416,7 @@ sub _resolve_aliastypes_from_select_args { # generate sql chunks my $to_scan = { restricting => [ - $sql_maker->_recurse_where ($attrs->{where}), + ($sql_maker->_recurse_where ($attrs->{where}))[0], $sql_maker->_parse_rs_attrs ({ having => $attrs->{having} }), ], grouping => [