summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/skip.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-07-23 19:07:48 -0400
committerHari Khalsa <hkhalsa@10gen.com>2013-07-25 14:27:04 -0400
commitf69cfc007eed38592c879ebf9345ec70f9587aa0 (patch)
treebc2a7c39ce42ebbbaace19e644774b9253c9f774 /src/mongo/db/exec/skip.h
parent50dc157e0d617b3aa9014bf47b9531e6e510912b (diff)
downloadmongo-f69cfc007eed38592c879ebf9345ec70f9587aa0.tar.gz
SERVER-10026 stage stats, multi plan runner, relevant scaffolding
Diffstat (limited to 'src/mongo/db/exec/skip.h')
-rw-r--r--src/mongo/db/exec/skip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/exec/skip.h b/src/mongo/db/exec/skip.h
index 5086e9d66aa..e57fa49c0c2 100644
--- a/src/mongo/db/exec/skip.h
+++ b/src/mongo/db/exec/skip.h
@@ -40,12 +40,17 @@ namespace mongo {
virtual void recoverFromYield();
virtual void invalidate(const DiskLoc& dl);
+ virtual PlanStageStats* getStats();
+
private:
WorkingSet* _ws;
scoped_ptr<PlanStage> _child;
// We drop the first _toSkip results that we would have returned.
int _toSkip;
+
+ // Stats
+ CommonStats _commonStats;
};
} // namespace mongo