diff options
author | David Storch <david.storch@mongodb.com> | 2022-06-10 21:50:45 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-06-10 22:53:08 +0000 |
commit | f6b83615b8a3435193e501424bf4b9b91f9e8a1d (patch) | |
tree | c97eb170d89b19b03392e8e5ddd1671982b2fb1a /src/mongo/client/SConscript | |
parent | 8fca1562eae7c9441c664a5868c220b4b2aad050 (diff) | |
download | mongo-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/SConscript | 17 |
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', |