comparison src/mysql.sml @ 868:06497beb265b

Moved dml code into Settings
author Adam Chlipala <adamc@hcoop.net>
date Sun, 28 Jun 2009 16:22:17 -0400
parents e7f80d78075b
children 64ba57fa20bf
comparison
equal deleted inserted replaced
867:e7f80d78075b 868:06497beb265b
253 newline] 253 newline]
254 end 254 end
255 255
256 fun query _ = raise Fail "MySQL query" 256 fun query _ = raise Fail "MySQL query"
257 fun queryPrepared _ = raise Fail "MySQL queryPrepared" 257 fun queryPrepared _ = raise Fail "MySQL queryPrepared"
258 fun dml _ = raise Fail "MySQL dml"
259 fun dmlPrepared _ = raise Fail "MySQL dmlPrepared"
258 260
259 val () = addDbms {name = "mysql", 261 val () = addDbms {name = "mysql",
260 header = "mysql/mysql.h", 262 header = "mysql/mysql.h",
261 link = "-lmysqlclient", 263 link = "-lmysqlclient",
262 global_init = box [string "void uw_client_init() {", 264 global_init = box [string "void uw_client_init() {",
271 newline], 273 newline],
272 string "}", 274 string "}",
273 newline], 275 newline],
274 init = init, 276 init = init,
275 query = query, 277 query = query,
276 queryPrepared = queryPrepared} 278 queryPrepared = queryPrepared,
279 dml = dml,
280 dmlPrepared = dmlPrepared}
277 281
278 end 282 end