diff options
Diffstat (limited to 'src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp')
-rw-r--r-- | src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp b/src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp index 26ae6cda451..3dc53e3e900 100644 --- a/src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp +++ b/src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp @@ -132,7 +132,7 @@ void NonShardServerProcessInterface::createIndexesOnEmptyCollection( // primary. auto removeIndexBuildsToo = false; auto filteredIndexes = collection->getIndexCatalog()->removeExistingIndexes( - opCtx, indexSpecs, removeIndexBuildsToo); + opCtx, collection.get(), indexSpecs, removeIndexBuildsToo); if (filteredIndexes.empty()) { return; } |