summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer_impl.cpp')
-rw-r--r--src/mongo/db/op_observer_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_impl.cpp b/src/mongo/db/op_observer_impl.cpp
index a92d5753d27..c572c9c65a1 100644
--- a/src/mongo/db/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer_impl.cpp
@@ -660,7 +660,7 @@ void OpObserverImpl::onCollMod(OperationContext* opCtx,
// catalog are all present and equal, unless the collection is system.indexes or
// system.namespaces (see SERVER-29926, SERVER-30095).
invariant(opCtx->lockState()->isDbLockedForMode(nss.db(), MODE_X));
- Database* db = dbHolder().get(opCtx, nss.db());
+ Database* db = DatabaseHolder::getDatabaseHolder().get(opCtx, nss.db());
// Some unit tests call the op observer on an unregistered Database.
if (!db) {
return;