projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9b7c05b
)
need to normalize op to avoid spurious use of old unary ops
Matt S Trout [Tue, 11 Sep 2018 22:07:46 +0000 (22:07 +0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
d44ef82
..
9725b00
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-640,6
+640,7
@@
sub _expand_expr_hashpair {
}
my ($vk, $vv) = %$v;
$vk =~ s/^-//;
+ $vk = lc($vk);
if ($vk =~ /^(?:not[ _])?between$/) {
my @rhs = map $self->_expand_expr($_),
ref($vv) eq 'ARRAY' ? @$vv : $vv;