From: Matt S Trout Date: Tue, 26 Mar 2019 00:47:22 +0000 (+0000) Subject: let andor expand the ident hashref case X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=54bdb5bed190518448e4641251b45b1e1fc756b8;p=scpubgit%2FQ-Branch.git let andor expand the ident hashref case --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index bca20e1..7addc16 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -644,10 +644,7 @@ sub _expand_expr_hashpair_ident { } if (ref($v) eq 'HASH') { if (keys %$v > 1) { - return $self->_expand_op_andor(-and => [ - map +{ $_ => $v->{$_} }, - sort keys %$v - ], $k); + return $self->_expand_op_andor(-and => $v, $k); } return undef unless keys %$v; my ($vk, $vv) = %$v;