summaryrefslogtreecommitdiff
path: root/lib/top.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-12-09 14:41:19 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-12-09 14:41:19 -0500
commit5108a7e86734b335b65b9efd60a7f2f2797b602b (patch)
tree1bdcd341e3e43df6833972a5384b8552f8343039 /lib/top.ur
parent55fefa6122803e9739e9e71f1d50eae671665df4 (diff)
Add SQL arithmetic operators
Diffstat (limited to 'lib/top.ur')
-rw-r--r--lib/top.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/top.ur b/lib/top.ur
index 76fe73c1..fd7676a3 100644
--- a/lib/top.ur
+++ b/lib/top.ur
@@ -238,4 +238,4 @@ fun eqNullable' (tables ::: {{Type}}) (agg ::: {{Type}}) (exps ::: {Type})
(e2 : option t) =
case e2 of
None => (SQL {e1} IS NULL)
- | Some _ => sql_comparison sql_eq e1 (@sql_inject inj e2)
+ | Some _ => sql_binary sql_eq e1 (@sql_inject inj e2)