projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
315f078
)
extract _expr_hashpair_op_ident
Matt S Trout [Mon, 25 Mar 2019 02:51:08 +0000 (
02:51
+0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
f9085d2
..
07bbb72
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-608,6
+608,11
@@
sub _expand_expr_hashpair {
if ($k =~ /^-/) {
return $self->_expand_expr_hashpair_op($k, $v);
}
+ return $self->_expand_expr_hashpair_ident($k, $v);
+}
+
+sub _expand_expr_hashpair_ident {
+ my ($self, $k, $v) = @_;
if (
!defined($v)
or (