diff options
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp')
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp index a248f84368a..5547f1a452b 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp @@ -300,8 +300,9 @@ namespace mongo { _ticket.reset(NULL); } - uint64_t WiredTigerRecoveryUnit::getMyTransactionCount() const { - return _myTransactionCount; + SnapshotId WiredTigerRecoveryUnit::getSnapshotId() const { + // TODO: use actual wiredtiger txn id + return SnapshotId(_myTransactionCount); } void WiredTigerRecoveryUnit::markNoTicketRequired() { |