diff options
author | Yoonsoo Kim <yoonsoo.kim@mongodb.com> | 2021-07-20 12:00:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-20 12:32:04 +0000 |
commit | 16b68612e80eb388e8a6f495fc0fa1b28898eaeb (patch) | |
tree | ed7aefcb24706bace1f4e24868c5bb68de13edce /src/mongo/client/dbclient_cursor.h | |
parent | 087c24f14c4dca91eade6dff3563649f6edbe6c7 (diff) | |
download | mongo-16b68612e80eb388e8a6f495fc0fa1b28898eaeb.tar.gz |
SERVER-58566 Clean up the shell code so that it does not issue any OP_QUERY request except hello/isMaster
Diffstat (limited to 'src/mongo/client/dbclient_cursor.h')
-rw-r--r-- | src/mongo/client/dbclient_cursor.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/client/dbclient_cursor.h b/src/mongo/client/dbclient_cursor.h index 9fd0139254c..c3555a698e6 100644 --- a/src/mongo/client/dbclient_cursor.h +++ b/src/mongo/client/dbclient_cursor.h @@ -299,7 +299,6 @@ private: // After a successful 'find' command, 'ns' is updated to contain the namespace returned by that // command. NamespaceString ns; - const bool _isCommand; BSONObj query; int nToReturn; bool haveLimit; @@ -314,7 +313,6 @@ private: std::string _scopedHost; std::string _lazyHost; bool wasError; - bool _useFindCommand = true; bool _connectionHasPendingReplies = false; int _lastRequestId = 0; Milliseconds _awaitDataTimeout = Milliseconds{0}; |