summaryrefslogtreecommitdiff
path: root/src/cjr_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-11 12:22:06 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-11 12:22:06 -0400
commit549b3c11b75bb08eb6b686d2d1a04bc0ec7647a9 (patch)
tree50b65dd78d1529f8f39632d2bae04c672e89faa9 /src/cjr_print.sml
parent0ee5e278e328dd8bb567932cdb99944d0fbe206f (diff)
Improve detection of opportunities for prepared statements with bool parameters
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r--src/cjr_print.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml
index a6eb0ffe..73a4f0fc 100644
--- a/src/cjr_print.sml
+++ b/src/cjr_print.sml
@@ -425,6 +425,7 @@ fun getPargs (e, _) =
| EFfiApp ("Basis", "sqlifyFloat", [e]) => [(e, Float)]
| EFfiApp ("Basis", "sqlifyString", [e]) => [(e, String)]
| EFfiApp ("Basis", "sqlifyBool", [e]) => [(e, Bool)]
+ | ECase (e, _, _) => [(e, Bool)]
| _ => raise Fail "CjrPrint: getPargs"