From 197fab23f1e6d928bc800f5a2a560c48c0543e82 Mon Sep 17 00:00:00 2001 From: Sally McNichols Date: Thu, 9 Jun 2016 11:51:27 -0400 Subject: SERVER-23238 remove the public method PlanExecutor::collection() --- src/mongo/db/s/split_vector_command.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/s/split_vector_command.cpp') 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); } -- cgit v1.2.1