diff options
author | James Wahlin <james@mongodb.com> | 2018-06-04 13:43:50 -0400 |
---|---|---|
committer | James Wahlin <james@mongodb.com> | 2018-06-11 09:25:31 -0400 |
commit | 1c21898e28a73f1ab81fe1fa3d0e185d4ab916a8 (patch) | |
tree | 9e5588fc17b446c624d5328cb29c2a61a6fadd54 /src/mongo/db/exec/index_scan.cpp | |
parent | 0dd1fc7ddde2a489558f5328dce5125bddfb9e4d (diff) | |
download | mongo-1c21898e28a73f1ab81fe1fa3d0e185d4ab916a8.tar.gz |
SERVER-35044 Remove maxScan query option
Diffstat (limited to 'src/mongo/db/exec/index_scan.cpp')
-rw-r--r-- | src/mongo/db/exec/index_scan.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/exec/index_scan.cpp b/src/mongo/db/exec/index_scan.cpp index 56b6276b7c1..7ef20861ec8 100644 --- a/src/mongo/db/exec/index_scan.cpp +++ b/src/mongo/db/exec/index_scan.cpp @@ -172,9 +172,6 @@ PlanStage::StageState IndexScan::doWork(WorkingSetID* out) { } ++_specificStats.keysExamined; - if (_params.maxScan && _specificStats.keysExamined >= _params.maxScan) { - kv = boost::none; - } } if (kv && _checker) { |