summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_multiplan.cpp
diff options
context:
space:
mode:
authorSally McNichols <sally.mcnichols@mongodb.com>2016-06-09 11:51:27 -0400
committerSally McNichols <sally.mcnichols@mongodb.com>2016-06-09 11:51:27 -0400
commit197fab23f1e6d928bc800f5a2a560c48c0543e82 (patch)
tree6f98775ff9142270ceb639dcaa1514583bbd00e6 /src/mongo/dbtests/query_stage_multiplan.cpp
parente8ac632f9ce47e7febfd4737ee743bfcba219688 (diff)
downloadmongo-197fab23f1e6d928bc800f5a2a560c48c0543e82.tar.gz
SERVER-23238 remove the public method PlanExecutor::collection()
Diffstat (limited to 'src/mongo/dbtests/query_stage_multiplan.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_multiplan.cpp3
1 files changed, 2 insertions, 1 deletions
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);