summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-05-07 12:19:29 -0400
committerDavid Storch <david.storch@10gen.com>2015-05-08 10:04:51 -0400
commitdf7e94f086f23a4ee9a10679ce7c6cf2ecbb2720 (patch)
tree724474d2a2bf809c3a3ec65fa06957c5c0664a05 /src/mongo
parentcddb4b8f5a193e32d1400963cd177fe47c8570df (diff)
downloadmongo-df7e94f086f23a4ee9a10679ce7c6cf2ecbb2720.tar.gz
SERVER-16381 last key examined by IXSCAN stage should also count towards keysExamined
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/exec/index_scan.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/exec/index_scan.cpp b/src/mongo/db/exec/index_scan.cpp
index 3cf0ed093cb..b3324254b74 100644
--- a/src/mongo/db/exec/index_scan.cpp
+++ b/src/mongo/db/exec/index_scan.cpp
@@ -171,8 +171,6 @@ namespace mongo {
break;
case IndexBoundsChecker::DONE:
- // This seems weird but it's the old definition of nscanned.
- --_specificStats.keysExamined;
kv = boost::none;
break;