diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2015-11-02 16:50:09 -0500 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2015-11-05 14:51:45 -0500 |
commit | 4cf3913b4e19a05b6b5f67e099cc76df15088d7f (patch) | |
tree | 7ce9191cd8c4fc86904a3f74bc27606a0baf753d /src/mongo/client/dbclient.cpp | |
parent | fef65b69202c850fd05cd22b94351688e4785188 (diff) | |
download | mongo-4cf3913b4e19a05b6b5f67e099cc76df15088d7f.tar.gz |
SERVER-20640 Get wire versions from native DBClient instead of running isMaster
Diffstat (limited to 'src/mongo/client/dbclient.cpp')
-rw-r--r-- | src/mongo/client/dbclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient.cpp b/src/mongo/client/dbclient.cpp index 6f7407355da..e2dab69c03c 100644 --- a/src/mongo/client/dbclient.cpp +++ b/src/mongo/client/dbclient.cpp @@ -854,7 +854,7 @@ private: /** * Initializes the wire version of conn, and returns the isMaster reply. */ -StatusWith<executor::RemoteCommandResponse> initWireVersion(DBClientBase* conn) { +StatusWith<executor::RemoteCommandResponse> initWireVersion(DBClientConnection* conn) { try { // We need to force the usage of OP_QUERY on this command, even if we have previously // detected support for OP_COMMAND on a connection. This is necessary to handle the case |