diff options
author | 2013-12-12 17:42:48 -0500 | |
---|---|---|
committer | 2013-12-12 17:42:48 -0500 | |
commit | 3fbffffb0b03b980de3ae2e579fc41c3723a5b46 (patch) | |
tree | d3c882ae31c045044de6538db6dc9e13cf347f66 /include/urweb/types_cpp.h | |
parent | 7b68961399bb9e1576e1355c084bb2a95853c03a (diff) |
Start SQL transactions as read-only when possible, based on conservative program analysis
Diffstat (limited to 'include/urweb/types_cpp.h')
-rw-r--r-- | include/urweb/types_cpp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/urweb/types_cpp.h b/include/urweb/types_cpp.h index 330f7755..789aecb1 100644 --- a/include/urweb/types_cpp.h +++ b/include/urweb/types_cpp.h @@ -82,7 +82,7 @@ typedef struct { 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 *); |