summaryrefslogtreecommitdiff
path: root/src/prepare.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/prepare.sml')
-rw-r--r--src/prepare.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prepare.sml b/src/prepare.sml
index 2f49405b..81de2fa7 100644
--- a/src/prepare.sml
+++ b/src/prepare.sml
@@ -246,11 +246,11 @@ fun prepExp (e as (_, loc), st) =
initial = initial, prepared = SOME {id = id, query = s, nested = true}}, loc), st)
end
- | EDml {dml, ...} =>
+ | EDml {dml, mode, ...} =>
(case prepString (dml, st) of
NONE => (e, st)
| SOME (id, s, st) =>
- ((EDml {dml = dml, prepared = SOME {id = id, dml = s}}, loc), st))
+ ((EDml {dml = dml, prepared = SOME {id = id, dml = s}, mode = mode}, loc), st))
| ENextval {seq, ...} =>
if #supportsNextval (Settings.currentDbms ()) then