projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5ca4238
)
this is always andor so bypass expr
Matt S Trout [Thu, 21 Mar 2019 05:20:10 +0000 (
05:20
+0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
6fabda2
..
dea2d4f
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-790,9
+790,9
@@
sub _expand_expr_hashpair {
? shift(@{$v = [ @$v ]})
: '-'.($self->{logic} || 'or')
);
- return $self->_expand_expr({
+ return $self->_expand_andor(
$this_logic => [ map +{ $k => $_ }, @$v ]
- });
+ );
}
if (my $literal = is_literal_value($v)) {
unless (length $k) {