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/session.h | |
parent | 1680325095c79bd66c13e6e0bd9fb6340c83a1e0 (diff) |
New database layout.
Diffstat (limited to 'server/src/session.h')
-rw-r--r-- | server/src/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/session.h b/server/src/session.h index 0540541..c0f6dfc 100644 --- a/server/src/session.h +++ b/server/src/session.h @@ -38,7 +38,7 @@ class Journal; class Session { public: - Session(std::string sessionid); + Session(std::string sessionid = ""); ~Session(); std::string id(); @@ -47,6 +47,7 @@ public: void unlock(); void commit(); + void nocommit(); void discard(); Journal *journal(); @@ -55,7 +56,6 @@ public: private: Journal *_journal; Database *_database; - std::string _id; Mutex mutex; }; |