Skip to content

CXX-2811: Mark Server version 3.6 as EOL from driver's PoV (Min server version as 4.0, minWireVersion as 7.0) #1177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/mongocxx/test/client_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,6 @@ stdx::optional<bsoncxx::document::value> parse_test_file(std::string path) {
return bsoncxx::from_json(stream.str());
}

bool supports_collation(const client& client) {
return get_max_wire_version(client) >= 5;
}

bsoncxx::document::value transform_document(bsoncxx::document::view view, const xformer_t& fcn) {
bsoncxx::builder::basic::array context;

Expand Down
9 changes: 0 additions & 9 deletions src/mongocxx/test/client_helpers.hh
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,6 @@ std::string get_hosts(const client& client = {uri{}, add_test_server_api()});
///
stdx::optional<bsoncxx::document::value> parse_test_file(std::string path);

//
// Determines whether or not the given client supports the collation feature, by running the
// "hello" command.
//
// Throws mongocxx::operation_exception if the operation fails, or the server reply is
// malformed.
//
bool supports_collation(const client& client);

using item_t = std::pair<stdx::optional<stdx::string_view>, bsoncxx::types::bson_value::view>;
using xformer_t = std::function<stdx::optional<item_t>(item_t, bsoncxx::builder::basic::array*)>;

Expand Down
Loading