diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2020-08-20 13:00:50 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-20 18:12:14 +0000 |
commit | d3064df927c97abd402ee5768ab57667ed6849c9 (patch) | |
tree | c246336371b545bdc5942dab73aef5c094d99bd4 /src/mongo/client/dbclient_rs.cpp | |
parent | 526230bafa6e5a49f5783507734fba93486c19ae (diff) | |
download | mongo-d3064df927c97abd402ee5768ab57667ed6849c9.tar.gz |
SERVER-49380 Add API params to mongo shell
Diffstat (limited to 'src/mongo/client/dbclient_rs.cpp')
-rw-r--r-- | src/mongo/client/dbclient_rs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/client/dbclient_rs.cpp b/src/mongo/client/dbclient_rs.cpp index 0359251d9fa..b9871482aac 100644 --- a/src/mongo/client/dbclient_rs.cpp +++ b/src/mongo/client/dbclient_rs.cpp @@ -133,8 +133,10 @@ DBClientReplicaSet::DBClientReplicaSet(const string& name, const vector<HostAndPort>& servers, StringData applicationName, double so_timeout, - MongoURI uri) - : _setName(name), + MongoURI uri, + const ClientAPIVersionParameters* apiParameters) + : DBClientBase(apiParameters), + _setName(name), _applicationName(applicationName.toString()), _so_timeout(so_timeout), _uri(std::move(uri)) { |