summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbdirectclient.h
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/db/dbdirectclient.h
parentfef65b69202c850fd05cd22b94351688e4785188 (diff)
downloadmongo-4cf3913b4e19a05b6b5f67e099cc76df15088d7f.tar.gz
SERVER-20640 Get wire versions from native DBClient instead of running isMaster
Diffstat (limited to 'src/mongo/db/dbdirectclient.h')
-rw-r--r--src/mongo/db/dbdirectclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/dbdirectclient.h b/src/mongo/db/dbdirectclient.h
index a3aa8aaa8db..50fa46a6f9d 100644
--- a/src/mongo/db/dbdirectclient.h
+++ b/src/mongo/db/dbdirectclient.h
@@ -97,6 +97,9 @@ public:
virtual QueryOptions _lookupAvailableOptions();
+ int getMinWireVersion() final;
+ int getMaxWireVersion() final;
+
private:
OperationContext* _txn;
};