summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_util.cpp
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/s/migration_util.cpp
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/s/migration_util.cpp')
-rw-r--r--src/mongo/db/s/migration_util.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_util.cpp b/src/mongo/db/s/migration_util.cpp
index c3751d7bd5f..b877424f86a 100644
--- a/src/mongo/db/s/migration_util.cpp
+++ b/src/mongo/db/s/migration_util.cpp
@@ -37,7 +37,6 @@
#include "mongo/base/error_codes.h"
#include "mongo/bson/bsonobj.h"
#include "mongo/bson/bsonobjbuilder.h"
-#include "mongo/client/query.h"
#include "mongo/db/catalog/collection_catalog_helper.h"
#include "mongo/db/catalog_raii.h"
#include "mongo/db/commands.h"