summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp
index 3d4038aab1d..a77312b85b2 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp
@@ -235,10 +235,15 @@ WiredTigerSessionCache::WiredTigerSessionCache(WiredTigerKVEngine* engine)
: _engine(engine),
_conn(engine->getConnection()),
_clockSource(_engine->getClockSource()),
- _shuttingDown(0) {}
+ _shuttingDown(0),
+ _lastCommitOrAbortCounter(0) {}
WiredTigerSessionCache::WiredTigerSessionCache(WT_CONNECTION* conn, ClockSource* cs)
- : _engine(NULL), _conn(conn), _clockSource(cs), _shuttingDown(0) {}
+ : _engine(nullptr),
+ _conn(conn),
+ _clockSource(cs),
+ _shuttingDown(0),
+ _lastCommitOrAbortCounter(0) {}
WiredTigerSessionCache::~WiredTigerSessionCache() {
shuttingDown();