diff options
author | deva <deva> | 2011-01-25 12:17:47 +0000 |
---|---|---|
committer | deva <deva> | 2011-01-25 12:17:47 +0000 |
commit | 13f286925b1e9e34fe71413edcba23686c005f8a (patch) | |
tree | d1ea04756f6eb198fb18a367423670734e6e062a /server/src/connection.h | |
parent | 1680325095c79bd66c13e6e0bd9fb6340c83a1e0 (diff) |
New database layout.
Diffstat (limited to 'server/src/connection.h')
-rw-r--r-- | server/src/connection.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/connection.h b/server/src/connection.h index f1735a8..010034e 100644 --- a/server/src/connection.h +++ b/server/src/connection.h @@ -37,7 +37,8 @@ class Session; class Connection { public: - Connection(Environment &e, std::string sessionid, bool commit, bool discard); + Connection(Environment &e, std::string sessionid, + bool commit, bool discard, bool nocommit); ~Connection(); bool handle(const char *data, size_t size); @@ -47,10 +48,12 @@ public: private: void commit(Session *session); + void nocommit(Session *session); void discard(Session *session); std::string sessionid; bool docommit; + bool donocommit; bool dodiscard; Environment &env; |