diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-10-22 17:36:30 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-10-22 17:36:30 -0400 |
commit | e2ffafb9cfaf0bb921bc9bca491214cb464a38d7 (patch) | |
tree | 4b2eee33b6c42ab787f16df7b8bfc48e6f910b5a /src/mono_opt.sml | |
parent | fc3b6857ae9d41f0fa64dc53e135be6d27d85c76 (diff) |
Chars working with SQLite
Diffstat (limited to 'src/mono_opt.sml')
-rw-r--r-- | src/mono_opt.sml | 4 |
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), _)]) => |