summaryrefslogtreecommitdiff
path: root/src/mono_opt.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-10-22 17:36:30 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-10-22 17:36:30 -0400
commite2ffafb9cfaf0bb921bc9bca491214cb464a38d7 (patch)
tree4b2eee33b6c42ab787f16df7b8bfc48e6f910b5a /src/mono_opt.sml
parentfc3b6857ae9d41f0fa64dc53e135be6d27d85c76 (diff)
Chars working with SQLite
Diffstat (limited to 'src/mono_opt.sml')
-rw-r--r--src/mono_opt.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mono_opt.sml b/src/mono_opt.sml
index 78754082..bb165770 100644
--- a/src/mono_opt.sml
+++ b/src/mono_opt.sml
@@ -323,9 +323,9 @@ fun exp e =
| EFfiApp ("Basis", "sqlifyBool", [b as (_, loc)]) =>
optExp (ECase (b,
[((PCon (Enum, PConFfi {mod = "Basis", datatyp = "bool", con = "True", arg = NONE}, NONE), loc),
- (EPrim (Prim.String "TRUE"), loc)),
+ (EPrim (Prim.String (#trueString (Settings.currentDbms ()))), loc)),
((PCon (Enum, PConFfi {mod = "Basis", datatyp = "bool", con = "False", arg = NONE}, NONE), loc),
- (EPrim (Prim.String "FALSE"), loc))],
+ (EPrim (Prim.String (#falseString (Settings.currentDbms ()))), loc))],
{disc = (TFfi ("Basis", "bool"), loc),
result = (TFfi ("Basis", "string"), loc)}), loc)
| EFfiApp ("Basis", "sqlifyString", [(EPrim (Prim.String n), _)]) =>