projects
/
scpubgit/Q-Branch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6393fa8
)
let andor expand the ident hashref case
Matt S Trout [Tue, 26 Mar 2019 00:47:22 +0000 (
00:47
+0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
bca20e1
..
7addc16
100644
(file)
--- 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;