projects
/
scpubgit/Q-Branch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
let andor expand the ident hashref case
[scpubgit/Q-Branch.git]
/
lib
/
SQL
/
Abstract.pm
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;