projects
/
scpubgit/Q-Branch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
aa8d7bd
)
use -literal for top level exprs
Matt S Trout [Sat, 8 Sep 2018 01:55:26 +0000 (
01:55
+0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
9ce3d1b
..
232b290
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-576,6
+576,9
@@
sub _expand_expr {
}
return { '-'.$logic => \@res };
}
+ if (my $literal = is_literal_value($expr)) {
+ return +{ -literal => $literal };
+ }
return $expr;
}