summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/explain.h
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2015-10-08 13:15:59 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2015-10-08 16:56:37 -0400
commit5aefcdd1e32f411c35c4c3add6e67dcd9ccbee54 (patch)
tree07ef20f49abc088f3c147b63ce49d4e17947699e /src/mongo/db/query/explain.h
parent4a42d61c6463e774c2308ae2f329e168759aa390 (diff)
downloadmongo-5aefcdd1e32f411c35c4c3add6e67dcd9ccbee54.tar.gz
SERVER-20111 Plan summary should only include the winning plan
Diffstat (limited to 'src/mongo/db/query/explain.h')
-rw-r--r--src/mongo/db/query/explain.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/db/query/explain.h b/src/mongo/db/query/explain.h
index 1177dc1601c..069d89d7cb4 100644
--- a/src/mongo/db/query/explain.h
+++ b/src/mongo/db/query/explain.h
@@ -164,10 +164,11 @@ private:
* @param winnerStats -- the stats tree for the winning plan.
* @param rejectedStats -- an array of stats trees, one per rejected plan
*/
- static void generatePlannerInfo(PlanExecutor* exec,
- PlanStageStats* winnerStats,
- const std::vector<PlanStageStats*>& rejectedStats,
- BSONObjBuilder* out);
+ static void generatePlannerInfo(
+ PlanExecutor* exec,
+ PlanStageStats* winnerStats,
+ const std::vector<std::unique_ptr<PlanStageStats>>& rejectedStats,
+ BSONObjBuilder* out);
/**
* Generates the execution stats section for the stats tree 'stats',