diff options
author | Benety Goh <benety@mongodb.com> | 2019-12-16 18:27:41 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-16 18:27:41 +0000 |
commit | 4cba7e97d3561efe26a7145c03bb91648343f396 (patch) | |
tree | 0af6b760c04efa993201e357d76eaa7831d68729 /src/mongo/db/pipeline/document_source_out.cpp | |
parent | d38d7026a4fcd5e524b3d35e405d49e4ac8989c3 (diff) | |
download | mongo-4cba7e97d3561efe26a7145c03bb91648343f396.tar.gz |
SERVER-44897 rename MongoProcessInterface::createIndexes() to createIndexesOnEmptyCollection()
Diffstat (limited to 'src/mongo/db/pipeline/document_source_out.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_out.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_out.cpp b/src/mongo/db/pipeline/document_source_out.cpp index 18a093ae338..c0aade5b099 100644 --- a/src/mongo/db/pipeline/document_source_out.cpp +++ b/src/mongo/db/pipeline/document_source_out.cpp @@ -182,7 +182,8 @@ void DocumentSourceOut::initialize() { try { std::vector<BSONObj> tempNsIndexes = {std::begin(_originalIndexes), std::end(_originalIndexes)}; - pExpCtx->mongoProcessInterface->createIndexes(pExpCtx->opCtx, _tempNs, tempNsIndexes); + pExpCtx->mongoProcessInterface->createIndexesOnEmptyCollection( + pExpCtx->opCtx, _tempNs, tempNsIndexes); } catch (DBException& ex) { ex.addContext("Copying indexes for $out failed"); throw; |