summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_request.h
diff options
context:
space:
mode:
authorJames Wahlin <james@mongodb.com>2018-06-04 13:43:50 -0400
committerJames Wahlin <james@mongodb.com>2018-06-11 09:25:31 -0400
commit1c21898e28a73f1ab81fe1fa3d0e185d4ab916a8 (patch)
tree9e5588fc17b446c624d5328cb29c2a61a6fadd54 /src/mongo/db/query/query_request.h
parent0dd1fc7ddde2a489558f5328dce5125bddfb9e4d (diff)
downloadmongo-1c21898e28a73f1ab81fe1fa3d0e185d4ab916a8.tar.gz
SERVER-35044 Remove maxScan query option
Diffstat (limited to 'src/mongo/db/query/query_request.h')
-rw-r--r--src/mongo/db/query/query_request.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/query/query_request.h b/src/mongo/db/query/query_request.h
index 29abf54aaca..12003a95c22 100644
--- a/src/mongo/db/query/query_request.h
+++ b/src/mongo/db/query/query_request.h
@@ -262,14 +262,6 @@ public:
_unwrappedReadPref = unwrappedReadPref.getOwned();
}
- int getMaxScan() const {
- return _maxScan;
- }
-
- void setMaxScan(int maxScan) {
- _maxScan = maxScan;
- }
-
int getMaxTimeMS() const {
return _maxTimeMS;
}
@@ -485,8 +477,6 @@ private:
std::string _comment;
- int _maxScan = 0;
-
// A user-specified maxTimeMS limit, or a value of '0' if not specified.
int _maxTimeMS = 0;