diff options
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.h')
-rw-r--r-- | src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.h b/src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.h index b65782cd27b..d95683a7c42 100644 --- a/src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.h +++ b/src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.h @@ -42,19 +42,19 @@ namespace mongo { */ class RecordStoreV1RepairCursor final : public RecordCursor { public: - RecordStoreV1RepairCursor(OperationContext* txn, const RecordStoreV1Base* recordStore); + RecordStoreV1RepairCursor(OperationContext* opCtx, const RecordStoreV1Base* recordStore); boost::optional<Record> next() final; - void invalidate(OperationContext* txn, const RecordId& dl); + void invalidate(OperationContext* opCtx, const RecordId& dl); void save() final {} bool restore() final { return true; } void detachFromOperationContext() final { - _txn = nullptr; + _opCtx = nullptr; } - void reattachToOperationContext(OperationContext* txn) final { - _txn = txn; + void reattachToOperationContext(OperationContext* opCtx) final { + _opCtx = opCtx; } // Explicitly not supporting fetcherForNext(). The expected use case for this class is a @@ -74,7 +74,7 @@ private: bool _advanceToNextValidExtent(); // transactional context for read locks. Not owned by us - OperationContext* _txn; + OperationContext* _opCtx; // Reference to the owning RecordStore. The store must not be deleted while there are // active iterators on it. |