diff options
Diffstat (limited to 'src/mongo/db/catalog/catalog_control.cpp')
-rw-r--r-- | src/mongo/db/catalog/catalog_control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/catalog_control.cpp b/src/mongo/db/catalog/catalog_control.cpp index f97cb254d72..7edb945faa5 100644 --- a/src/mongo/db/catalog/catalog_control.cpp +++ b/src/mongo/db/catalog/catalog_control.cpp @@ -60,7 +60,7 @@ void closeCatalog(OperationContext* opCtx) { // Close the storage engine's catalog. log() << "closeCatalog: closing storage engine catalog"; - opCtx->getServiceContext()->getGlobalStorageEngine()->closeCatalog(opCtx); + opCtx->getServiceContext()->getStorageEngine()->closeCatalog(opCtx); } void openCatalog(OperationContext* opCtx) { @@ -68,7 +68,7 @@ void openCatalog(OperationContext* opCtx) { // Load the catalog in the storage engine. log() << "openCatalog: loading storage engine catalog"; - auto storageEngine = opCtx->getServiceContext()->getGlobalStorageEngine(); + auto storageEngine = opCtx->getServiceContext()->getStorageEngine(); storageEngine->loadCatalog(opCtx); log() << "openCatalog: reconciling catalog and idents"; |