diff options
author | David Storch <david.storch@10gen.com> | 2014-07-03 12:04:53 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2014-07-08 16:58:56 -0400 |
commit | a76bfecf5bb7a173d2c79f4877fe07a6b0bf1f80 (patch) | |
tree | be15fead2a5a4bc4807689d26a966839f3a897e4 /src/mongo/db/exec/limit.cpp | |
parent | 01ec4f8ccf23d772523649051778b5a3f8c91c27 (diff) | |
download | mongo-a76bfecf5bb7a173d2c79f4877fe07a6b0bf1f80.tar.gz |
SERVER-14408 access stats directly from execution stages
Diffstat (limited to 'src/mongo/db/exec/limit.cpp')
-rw-r--r-- | src/mongo/db/exec/limit.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/exec/limit.cpp b/src/mongo/db/exec/limit.cpp index 50fd0826eb8..bc2c24649c5 100644 --- a/src/mongo/db/exec/limit.cpp +++ b/src/mongo/db/exec/limit.cpp @@ -113,4 +113,12 @@ namespace mongo { return ret.release(); } + const CommonStats* LimitStage::getCommonStats() { + return &_commonStats; + } + + const SpecificStats* LimitStage::getSpecificStats() { + return &_specificStats; + } + } // namespace mongo |