From: Matt S Trout Date: Thu, 21 Mar 2019 05:20:10 +0000 (+0000) Subject: this is always andor so bypass expr X-Git-Tag: v1.90_01~347 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=66e362e4282ac17783577e27b70f36dd41050839;p=dbsrgits%2FSQL-Abstract.git this is always andor so bypass expr --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 6fabda2..dea2d4f 100644 --- 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) {