diff options
author | Alberto Lerner <alerner@10gen.com> | 2013-09-27 11:36:43 -0400 |
---|---|---|
committer | Alberto Lerner <alerner@10gen.com> | 2013-10-01 21:01:41 -0400 |
commit | 95e54e3cfc433d5ae016aecf95dbded8ae58b8a5 (patch) | |
tree | 053a0d9018c55007337a5713356f5eb904dc9ba8 /src/mongo/db/exec/and_sorted.cpp | |
parent | 393194020e81707824b90622cf365333944133ef (diff) | |
download | mongo-95e54e3cfc433d5ae016aecf95dbded8ae58b8a5.tar.gz |
SERVER-10565 Extract explain information from new stages.
Diffstat (limited to 'src/mongo/db/exec/and_sorted.cpp')
-rw-r--r-- | src/mongo/db/exec/and_sorted.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/and_sorted.cpp b/src/mongo/db/exec/and_sorted.cpp index c3241eb8e4b..61297aeb33c 100644 --- a/src/mongo/db/exec/and_sorted.cpp +++ b/src/mongo/db/exec/and_sorted.cpp @@ -253,8 +253,8 @@ namespace mongo { PlanStageStats* AndSortedStage::getStats() { _commonStats.isEOF = isEOF(); - auto_ptr<PlanStageStats> ret(new PlanStageStats(_commonStats)); - ret->setSpecific<AndSortedStats>(_specificStats); + auto_ptr<PlanStageStats> ret(new PlanStageStats(_commonStats, STAGE_AND_SORTED)); + ret->specific.reset(new AndSortedStats(_specificStats)); for (size_t i = 0; i < _children.size(); ++i) { ret->children.push_back(_children[i]->getStats()); } |