kill last self-call from hashpair code
Matt S Trout [Mon, 18 Mar 2019 04:33:29 +0000 (04:33 +0000)]
lib/SQL/Abstract.pm

index d900050..c140100 100644 (file)
@@ -786,7 +786,7 @@ sub _expand_expr_hashpair {
       ] };
     }
     if ($op eq 'value') {
-      return $self->_expand_expr_hashpair($k, undef) unless defined($vv);
+      return $self->_expand_expr({ $k, undef }) unless defined($vv);
       return +{ -op => [
         $self->{cmp},
         $self->_expand_ident(-ident => $k),