diff options
Diffstat (limited to 'src/mongo/db/storage/storage_init.cpp')
-rw-r--r-- | src/mongo/db/storage/storage_init.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/storage/storage_init.cpp b/src/mongo/db/storage/storage_init.cpp index 0af1b78a602..dc21864d5b5 100644 --- a/src/mongo/db/storage/storage_init.cpp +++ b/src/mongo/db/storage/storage_init.cpp @@ -52,8 +52,9 @@ public: return true; } - virtual BSONObj generateSection(OperationContext* txn, const BSONElement& configElement) const { - auto engine = txn->getClient()->getServiceContext()->getGlobalStorageEngine(); + virtual BSONObj generateSection(OperationContext* opCtx, + const BSONElement& configElement) const { + auto engine = opCtx->getClient()->getServiceContext()->getGlobalStorageEngine(); return BSON("name" << storageGlobalParams.engine << "supportsCommittedReads" << bool(engine->getSnapshotManager()) << "readOnly" |