diff options
author | Sally McNichols <sally.mcnichols@mongodb.com> | 2016-06-09 11:51:27 -0400 |
---|---|---|
committer | Sally McNichols <sally.mcnichols@mongodb.com> | 2016-06-09 11:51:27 -0400 |
commit | 197fab23f1e6d928bc800f5a2a560c48c0543e82 (patch) | |
tree | 6f98775ff9142270ceb639dcaa1514583bbd00e6 /src/mongo/db/s/split_vector_command.cpp | |
parent | e8ac632f9ce47e7febfd4737ee743bfcba219688 (diff) | |
download | mongo-197fab23f1e6d928bc800f5a2a560c48c0543e82.tar.gz |
SERVER-23238 remove the public method PlanExecutor::collection()
Diffstat (limited to 'src/mongo/db/s/split_vector_command.cpp')
-rw-r--r-- | src/mongo/db/s/split_vector_command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/split_vector_command.cpp b/src/mongo/db/s/split_vector_command.cpp index b6922737f96..5ee14dc09cf 100644 --- a/src/mongo/db/s/split_vector_command.cpp +++ b/src/mongo/db/s/split_vector_command.cpp @@ -275,7 +275,7 @@ public: splitKeys.push_back(dps::extractElementsBasedOnTemplate( prettyKey(idx->keyPattern(), currKey.getOwned()), keyPattern)); - exec->setYieldPolicy(PlanExecutor::YIELD_AUTO); + exec->setYieldPolicy(PlanExecutor::YIELD_AUTO, collection); while (1) { while (PlanExecutor::ADVANCED == state) { currCount++; @@ -337,7 +337,7 @@ public: PlanExecutor::YIELD_MANUAL, InternalPlanner::FORWARD); - exec->setYieldPolicy(PlanExecutor::YIELD_AUTO); + exec->setYieldPolicy(PlanExecutor::YIELD_AUTO, collection); state = exec->getNext(&currKey, NULL); } |