summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/limit.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2014-06-03 11:04:28 -0400
committerDavid Storch <david.storch@10gen.com>2014-06-11 11:57:00 -0400
commit3e39c96ebbd90ebeb91d46f9dace6988a0152763 (patch)
tree147db9b069d4c65e8233a3f826dde9cefeddf60c /src/mongo/db/exec/limit.h
parentc4db5777873c4973facc7ea5ba727565e7658d73 (diff)
downloadmongo-3e39c96ebbd90ebeb91d46f9dace6988a0152763.tar.gz
SERVER-14096 explain find() at queryPlanner verbosity
Enable by the setParameter 'enableNewExplain'
Diffstat (limited to 'src/mongo/db/exec/limit.h')
-rw-r--r--src/mongo/db/exec/limit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/exec/limit.h b/src/mongo/db/exec/limit.h
index 8742dcbb0bd..5b5293823c2 100644
--- a/src/mongo/db/exec/limit.h
+++ b/src/mongo/db/exec/limit.h
@@ -55,6 +55,8 @@ namespace mongo {
virtual PlanStageStats* getStats();
+ static const char* kStageType;
+
private:
WorkingSet* _ws;
scoped_ptr<PlanStage> _child;
@@ -64,6 +66,7 @@ namespace mongo {
// Stats
CommonStats _commonStats;
+ LimitStats _specificStats;
};
} // namespace mongo