diff options
Diffstat (limited to 'src/mongo/db/query/multi_plan_runner.cpp')
-rw-r--r-- | src/mongo/db/query/multi_plan_runner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/query/multi_plan_runner.cpp b/src/mongo/db/query/multi_plan_runner.cpp index fc4eb33adf7..5ee561dfa84 100644 --- a/src/mongo/db/query/multi_plan_runner.cpp +++ b/src/mongo/db/query/multi_plan_runner.cpp @@ -38,18 +38,18 @@ namespace mongo { _candidates.push_back(CandidatePlan(solution, root, ws)); } - void MultiPlanRunner::yield() { + void MultiPlanRunner::saveState() { if (NULL != _bestPlanRunner) { - _bestPlanRunner->yield(); + _bestPlanRunner->saveState(); } else { yieldAllPlans(); } } - void MultiPlanRunner::unYield() { + void MultiPlanRunner::restoreState() { if (NULL != _bestPlanRunner) { - _bestPlanRunner->yield(); + _bestPlanRunner->restoreState(); } else { unyieldAllPlans(); |