summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/sort.cpp
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/exec/sort.cpp
parent4a42d61c6463e774c2308ae2f329e168759aa390 (diff)
downloadmongo-5aefcdd1e32f411c35c4c3add6e67dcd9ccbee54.tar.gz
SERVER-20111 Plan summary should only include the winning plan
Diffstat (limited to 'src/mongo/db/exec/sort.cpp')
-rw-r--r--src/mongo/db/exec/sort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sort.cpp b/src/mongo/db/exec/sort.cpp
index 6780e1bee82..b7b6fc0fc86 100644
--- a/src/mongo/db/exec/sort.cpp
+++ b/src/mongo/db/exec/sort.cpp
@@ -239,7 +239,7 @@ unique_ptr<PlanStageStats> SortStage::getStats() {
unique_ptr<PlanStageStats> ret = make_unique<PlanStageStats>(_commonStats, STAGE_SORT);
ret->specific = make_unique<SortStats>(_specificStats);
- ret->children.push_back(child()->getStats().release());
+ ret->children.emplace_back(child()->getStats());
return ret;
}