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/db/dbdirectclient.h | |
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/db/dbdirectclient.h')
-rw-r--r-- | src/mongo/db/dbdirectclient.h | 3 |
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; }; |