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/dbtests/query_stage_multiplan.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/dbtests/query_stage_multiplan.cpp') diff --git a/src/mongo/dbtests/query_stage_multiplan.cpp b/src/mongo/dbtests/query_stage_multiplan.cpp index a5b4d000a1e..03a7d321205 100644 --- a/src/mongo/dbtests/query_stage_multiplan.cpp +++ b/src/mongo/dbtests/query_stage_multiplan.cpp @@ -355,7 +355,8 @@ public: ASSERT_EQ(root->bestPlanIdx(), 0); BSONObjBuilder bob; - Explain::explainStages(exec.get(), ExplainCommon::EXEC_ALL_PLANS, &bob); + Explain::explainStages( + exec.get(), ctx.getCollection(), ExplainCommon::EXEC_ALL_PLANS, &bob); BSONObj explained = bob.done(); ASSERT_EQ(explained["executionStats"]["nReturned"].Int(), nDocs); -- cgit v1.2.1