summaryrefslogtreecommitdiff
path: root/src/mongo/client/SConscript
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/client/SConscript
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/client/SConscript')
-rw-r--r--src/mongo/client/SConscript17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/mongo/client/SConscript b/src/mongo/client/SConscript
index 1e613f942a0..b04eca892a9 100644
--- a/src/mongo/client/SConscript
+++ b/src/mongo/client/SConscript
@@ -165,29 +165,20 @@ env.Library(
],
)
-env.Library(
- target='client_query',
- source=[
- 'query.cpp',
- ],
- LIBDEPS=[
- '$BUILD_DIR/mongo/base',
- 'read_preference',
- ],
-)
-
clientDriverEnv = env.Clone()
clientDriverEnv.InjectThirdParty('asio')
clientDriverEnv.Library(
target='clientdriver_minimal',
source=[
+ 'client_api_version_parameters.idl',
+ 'client_deprecated.cpp',
'dbclient_base.cpp',
'dbclient_cursor.cpp',
'index_spec.cpp',
- 'client_api_version_parameters.idl',
],
LIBDEPS=[
+ '$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/dbmessage',
'$BUILD_DIR/mongo/db/pipeline/aggregation_request_helper',
'$BUILD_DIR/mongo/db/query/command_request_response',
@@ -196,8 +187,8 @@ clientDriverEnv.Library(
'$BUILD_DIR/mongo/rpc/command_status',
'$BUILD_DIR/mongo/rpc/rpc',
'authentication',
- 'client_query',
'connection_string',
+ 'read_preference',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/idl/idl_parser',