summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_build_entry_helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index_build_entry_helpers.cpp')
-rw-r--r--src/mongo/db/index_build_entry_helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_build_entry_helpers.cpp b/src/mongo/db/index_build_entry_helpers.cpp
index dd918677412..497be488d47 100644
--- a/src/mongo/db/index_build_entry_helpers.cpp
+++ b/src/mongo/db/index_build_entry_helpers.cpp
@@ -104,7 +104,7 @@ void ensureIndexBuildEntriesNamespaceExists(OperationContext* opCtx) {
// Create the collection if it doesn't exist.
if (!CollectionCatalog::get(opCtx).lookupCollectionByNamespace(
- NamespaceString::kIndexBuildEntryNamespace)) {
+ opCtx, NamespaceString::kIndexBuildEntryNamespace)) {
WriteUnitOfWork wuow(opCtx);
CollectionOptions defaultCollectionOptions;
Collection* collection =