diff options
author | Kyle Suarez <kyle.suarez@mongodb.com> | 2018-04-30 10:25:12 -0400 |
---|---|---|
committer | Kyle Suarez <kyle.suarez@mongodb.com> | 2018-04-30 11:14:59 -0400 |
commit | a9b53ada0db65e6ee341260c3256e960bac56a94 (patch) | |
tree | 17f359614f594c9427e982faa665578a05bd8728 /src/mongo/db/s/implicit_create_collection.cpp | |
parent | 69b6d9846e3fae2fea9313757c7563b1061cf585 (diff) | |
download | mongo-a9b53ada0db65e6ee341260c3256e960bac56a94.tar.gz |
Revert "SERVER-32645 Create a shim helper framework."
This reverts commit 2227f272a7a0a3e43625cb2d4a2704e1ccb6f893.
Diffstat (limited to 'src/mongo/db/s/implicit_create_collection.cpp')
-rw-r--r-- | src/mongo/db/s/implicit_create_collection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/implicit_create_collection.cpp b/src/mongo/db/s/implicit_create_collection.cpp index 0ad6e536658..c15fc331d41 100644 --- a/src/mongo/db/s/implicit_create_collection.cpp +++ b/src/mongo/db/s/implicit_create_collection.cpp @@ -93,7 +93,7 @@ public: // Take the DBLock and CollectionLock directly rather than using AutoGetCollection // (which calls AutoGetDb) to avoid doing database and shard version checks. Lock::DBLock dbLock(opCtx, _ns.db(), MODE_IS); - const auto db = DatabaseHolder::getDatabaseHolder().get(opCtx, _ns.db()); + const auto db = dbHolder().get(opCtx, _ns.db()); if (db) { Lock::CollectionLock collLock(opCtx->lockState(), _ns.ns(), MODE_IS); if (db->getCollection(opCtx, _ns.ns())) { |