diff options
author | Jacob Evans <jacob.evans@mongodb.com> | 2019-12-11 21:33:49 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-11 21:33:49 +0000 |
commit | 57acc8b666b8c9dfc34eaf03c226ab26ac225781 (patch) | |
tree | 1a0971f0cce77fc5178fc48952770dc164818b22 /src/mongo/db/commands/mr_test.cpp | |
parent | 3da6513067131a50323f3388b8dc2918da885732 (diff) | |
download | mongo-57acc8b666b8c9dfc34eaf03c226ab26ac225781.tar.gz |
SERVER-44475 Remove Query Knob
Diffstat (limited to 'src/mongo/db/commands/mr_test.cpp')
-rw-r--r-- | src/mongo/db/commands/mr_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/commands/mr_test.cpp b/src/mongo/db/commands/mr_test.cpp index c65f492893d..f7a05c77103 100644 --- a/src/mongo/db/commands/mr_test.cpp +++ b/src/mongo/db/commands/mr_test.cpp @@ -341,7 +341,9 @@ void MapReduceOpObserver::onStartIndexBuild(OperationContext* opCtx, const UUID& indexBuildUUID, const std::vector<BSONObj>& indexes, bool fromMigrate) { - indexesCreated = indexes; + for (auto&& obj : indexes) { + indexesCreated.push_back(obj.getOwned()); + } } void MapReduceOpObserver::onInserts(OperationContext* opCtx, |