diff options
author | 2010-09-07 09:06:13 -0400 | |
---|---|---|
committer | 2010-09-07 09:06:13 -0400 | |
commit | ea36554e005d1be57bede319562061e00c8a63c8 (patch) | |
tree | 301967018e16a7c4e7c27b64e5e4b08f288eba7f /src/sqlite.sml | |
parent | 2abed5bc95fa69a49d955e0b115d0db874f53a3a (diff) |
'tryDml' works with Postgres
Diffstat (limited to 'src/sqlite.sml')
-rw-r--r-- | src/sqlite.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqlite.sml b/src/sqlite.sml index 20afd5bc..c87bd509 100644 --- a/src/sqlite.sml +++ b/src/sqlite.sml @@ -1,4 +1,4 @@ -(* Copyright (c) 2009, Adam Chlipala +(* Copyright (c) 2009-2010, Adam Chlipala * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -708,7 +708,7 @@ fun dmlCommon {loc, dml, mode} = string ": DML step failed: %s<br />%s\", ", dml, string ", sqlite3_errmsg(conn->conn));"] - | Settings.None => string "uw_errmsg = sqlite3_errmsg(conn->conn);", + | Settings.None => string "uw_set_error_message(ctx, sqlite3_errmsg(conn->conn));", newline] fun dml (loc, mode) = |