diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-10-08 13:15:59 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-10-08 16:56:37 -0400 |
commit | 5aefcdd1e32f411c35c4c3add6e67dcd9ccbee54 (patch) | |
tree | 07ef20f49abc088f3c147b63ce49d4e17947699e /src/mongo/db/exec/merge_sort.cpp | |
parent | 4a42d61c6463e774c2308ae2f329e168759aa390 (diff) | |
download | mongo-5aefcdd1e32f411c35c4c3add6e67dcd9ccbee54.tar.gz |
SERVER-20111 Plan summary should only include the winning plan
Diffstat (limited to 'src/mongo/db/exec/merge_sort.cpp')
-rw-r--r-- | src/mongo/db/exec/merge_sort.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/merge_sort.cpp b/src/mongo/db/exec/merge_sort.cpp index 98b6037d990..5c1bbb64e3a 100644 --- a/src/mongo/db/exec/merge_sort.cpp +++ b/src/mongo/db/exec/merge_sort.cpp @@ -254,7 +254,7 @@ unique_ptr<PlanStageStats> MergeSortStage::getStats() { unique_ptr<PlanStageStats> ret = make_unique<PlanStageStats>(_commonStats, STAGE_SORT_MERGE); ret->specific = make_unique<MergeSortStats>(_specificStats); for (size_t i = 0; i < _children.size(); ++i) { - ret->children.push_back(_children[i]->getStats().release()); + ret->children.emplace_back(_children[i]->getStats()); } return ret; } |