summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/and_sorted.cpp
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2013-09-27 11:36:43 -0400
committerAlberto Lerner <alerner@10gen.com>2013-10-01 21:01:41 -0400
commit95e54e3cfc433d5ae016aecf95dbded8ae58b8a5 (patch)
tree053a0d9018c55007337a5713356f5eb904dc9ba8 /src/mongo/db/exec/and_sorted.cpp
parent393194020e81707824b90622cf365333944133ef (diff)
downloadmongo-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.cpp4
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());
}