summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient.cpp
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2015-11-02 16:50:09 -0500
committerJonathan Reams <jbreams@mongodb.com>2015-11-05 14:51:45 -0500
commit4cf3913b4e19a05b6b5f67e099cc76df15088d7f (patch)
tree7ce9191cd8c4fc86904a3f74bc27606a0baf753d /src/mongo/client/dbclient.cpp
parentfef65b69202c850fd05cd22b94351688e4785188 (diff)
downloadmongo-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.cpp2
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