diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-09-07 09:06:13 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-09-07 09:06:13 -0400 |
commit | ea36554e005d1be57bede319562061e00c8a63c8 (patch) | |
tree | 301967018e16a7c4e7c27b64e5e4b08f288eba7f /src/mysql.sml | |
parent | 2abed5bc95fa69a49d955e0b115d0db874f53a3a (diff) |
'tryDml' works with Postgres
Diffstat (limited to 'src/mysql.sml')
-rw-r--r-- | src/mysql.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mysql.sml b/src/mysql.sml index 44d88c1d..2f28f4dd 100644 --- a/src/mysql.sml +++ b/src/mysql.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 @@ -1202,7 +1202,7 @@ fun dmlCommon {loc, dml, mode} = string ": Error executing DML: %s\\n%s\", ", dml, string ", mysql_error(conn->conn));"] - | Settings.None => string "uw_errmsg = mysql_error(conn->conn);", + | Settings.None => string "uw_set_error_message(ctx, mysql_error(conn->conn));", newline, newline] |