summaryrefslogtreecommitdiff
path: root/src/mongo/db/query
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2022-06-10 21:50:45 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-10 22:53:08 +0000
commitf6b83615b8a3435193e501424bf4b9b91f9e8a1d (patch)
treec97eb170d89b19b03392e8e5ddd1671982b2fb1a /src/mongo/db/query
parent8fca1562eae7c9441c664a5868c220b4b2aad050 (diff)
downloadmongo-f6b83615b8a3435193e501424bf4b9b91f9e8a1d.tar.gz
SERVER-65955 Migrate shell exhaust path onto modern internal client API
In doing so, this also fixes the shell's C++ native query path to correctly handle negative limit. The patch also includes additional preparatory work for deleting the query_DEPRECATED() internal client API.
Diffstat (limited to 'src/mongo/db/query')
-rw-r--r--src/mongo/db/query/query_request_helper.cpp1
-rw-r--r--src/mongo/db/query/query_request_helper.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/query/query_request_helper.cpp b/src/mongo/db/query/query_request_helper.cpp
index 53e8092de75..370a9a1137e 100644
--- a/src/mongo/db/query/query_request_helper.cpp
+++ b/src/mongo/db/query/query_request_helper.cpp
@@ -36,7 +36,6 @@
#include "mongo/base/status.h"
#include "mongo/base/status_with.h"
#include "mongo/bson/simple_bsonobj_comparator.h"
-#include "mongo/client/query.h"
#include "mongo/db/commands/test_commands_enabled.h"
#include "mongo/db/dbmessage.h"
diff --git a/src/mongo/db/query/query_request_helper.h b/src/mongo/db/query/query_request_helper.h
index 4d3ec6143c8..bfbfbca8ec1 100644
--- a/src/mongo/db/query/query_request_helper.h
+++ b/src/mongo/db/query/query_request_helper.h
@@ -42,7 +42,6 @@ namespace mongo {
class QueryMessage;
class Status;
-class Query;
template <typename T>
class StatusWith;