Skip to content

Commit d373213

Browse files
CXX-2811 mark server version 3.6 as eol from driver's pov (min server version as 4.0, minwireversion as 7.0) (#1177)
1 parent dc971ed commit d373213

File tree

4 files changed

+179
-378
lines changed

4 files changed

+179
-378
lines changed

src/mongocxx/test/client_helpers.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,6 @@ stdx::optional<bsoncxx::document::value> parse_test_file(std::string path) {
297297
return bsoncxx::from_json(stream.str());
298298
}
299299

300-
bool supports_collation(const client& client) {
301-
return get_max_wire_version(client) >= 5;
302-
}
303-
304300
bsoncxx::document::value transform_document(bsoncxx::document::view view, const xformer_t& fcn) {
305301
bsoncxx::builder::basic::array context;
306302

src/mongocxx/test/client_helpers.hh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,6 @@ std::string get_hosts(const client& client = {uri{}, add_test_server_api()});
125125
///
126126
stdx::optional<bsoncxx::document::value> parse_test_file(std::string path);
127127

128-
//
129-
// Determines whether or not the given client supports the collation feature, by running the
130-
// "hello" command.
131-
//
132-
// Throws mongocxx::operation_exception if the operation fails, or the server reply is
133-
// malformed.
134-
//
135-
bool supports_collation(const client& client);
136-
137128
using item_t = std::pair<stdx::optional<stdx::string_view>, bsoncxx::types::bson_value::view>;
138129
using xformer_t = std::function<stdx::optional<item_t>(item_t, bsoncxx::builder::basic::array*)>;
139130

0 commit comments

Comments
 (0)