summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mmap_v1/heap_record_store_btree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/heap_record_store_btree.h')
-rw-r--r--src/mongo/db/storage/mmap_v1/heap_record_store_btree.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/mongo/db/storage/mmap_v1/heap_record_store_btree.h b/src/mongo/db/storage/mmap_v1/heap_record_store_btree.h
index 3dd7c4e2fe9..b6b0c03e0a3 100644
--- a/src/mongo/db/storage/mmap_v1/heap_record_store_btree.h
+++ b/src/mongo/db/storage/mmap_v1/heap_record_store_btree.h
@@ -177,15 +177,9 @@ namespace mongo {
*/
class HeapRecordStoreBtreeRecoveryUnit : public RecoveryUnit {
public:
- HeapRecordStoreBtreeRecoveryUnit() {
- _depth = 0;
- }
-
- virtual ~HeapRecordStoreBtreeRecoveryUnit();
-
- virtual void beginUnitOfWork(OperationContext* opCtx);
- virtual void commitUnitOfWork();
- virtual void endUnitOfWork();
+ void beginUnitOfWork(OperationContext* opCtx) final { };
+ void commitUnitOfWork() final;
+ void abortUnitOfWork() final;
virtual bool waitUntilDurable() { return true; }
@@ -209,7 +203,6 @@ namespace mongo {
HeapRecordStoreBtree* rs, const RecordId& loc );
private:
- int _depth;
struct InsertEntry {
HeapRecordStoreBtree* rs;
RecordId loc;