Mercurial > urweb
diff include/urweb/types_cpp.h @ 1936:6745eafff617
Start SQL transactions as read-only when possible, based on conservative program analysis
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 12 Dec 2013 17:42:48 -0500 |
parents | a5b08bdfa450 |
children | ac1be85e91ad |
line wrap: on
line diff
--- a/include/urweb/types_cpp.h Thu Dec 12 10:31:34 2013 -0500 +++ b/include/urweb/types_cpp.h Thu Dec 12 17:42:48 2013 -0500 @@ -82,7 +82,7 @@ void (*expunger)(struct uw_context *, uw_Basis_client); void (*db_init)(struct uw_context *); - int (*db_begin)(struct uw_context *); + int (*db_begin)(struct uw_context *, int could_write); int (*db_commit)(struct uw_context *); int (*db_rollback)(struct uw_context *); void (*db_close)(struct uw_context *);