diff options
author | Adam Chlipala <adam@chlipala.net> | 2015-05-10 12:56:19 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2015-05-10 12:56:19 -0400 |
commit | e07da25c269c5ea86613bf0ffddc416fbdbc7b11 (patch) | |
tree | 2bfb9ebc9bf9cc98ae2bf7ed344a44e1ba39058d /src | |
parent | 3380a1634d20006b5e717ad122eb51f9cb9e0afe (diff) |
Fix .sql generation to honor 'noMangleSql' in column names
Diffstat (limited to 'src')
-rw-r--r-- | src/cjr_print.sml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml index b3b12fe8..9c456863 100644 --- a/src/cjr_print.sml +++ b/src/cjr_print.sml @@ -3665,8 +3665,7 @@ fun p_sql env (ds, _) = let val t = sql_type_in env t in - box [string "uw_", - string (CharVector.map Char.toLower x), + box [string (Settings.mangleSql (CharVector.map Char.toLower x)), space, string (#p_sql_type (Settings.currentDbms ()) t), case t of |