projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f8c8041
)
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
96fb8ba
..
1f5342c
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) {