From: Matt S Trout <mst@shadowcat.co.uk>
Date: Tue, 26 Mar 2019 03:38:23 +0000 (+0000)
Subject: use hashtriple for auto-{cmp}
X-Git-Tag: v2.000000~3^2~329
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c4cbcedd259758a2023430fc7167ab1e46882559;p=dbsrgits%2FSQL-Abstract.git

use hashtriple for auto-{cmp}
---

diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm
index e095b59..d710f02 100644
--- a/lib/SQL/Abstract.pm
+++ b/lib/SQL/Abstract.pm
@@ -638,7 +638,7 @@ sub _expand_expr_hashpair_ident {
       and not defined $v->{-value}
     )
   ) {
-    return $self->_expand_expr({ $k => { $self->{cmp} => undef } });
+    return $self->_expand_expr_hashtriple($k => $self->{cmp} => undef);
   }
 
   # scalars and objects get expanded as whatever requested or values