summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_rs.h
diff options
context:
space:
mode:
authorJason Carey <jcarey@argv.me>2017-07-25 19:10:48 -0400
committerJason Carey <jcarey@argv.me>2017-08-01 17:57:19 -0400
commit009fdc7dfcc0197632cef5e3fdc250fdba68f7a5 (patch)
treec8b1ebb23f9e67a10feb79b14130bf71e7c940c0 /src/mongo/client/dbclient_rs.h
parentad30a49a33b8773cbc07388bb257d605cbd6aa12 (diff)
downloadmongo-009fdc7dfcc0197632cef5e3fdc250fdba68f7a5.tar.gz
SERVER-30080 LogicalSessions in the shell
Basic logical session implementation for the shell
Diffstat (limited to 'src/mongo/client/dbclient_rs.h')
-rw-r--r--src/mongo/client/dbclient_rs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/client/dbclient_rs.h b/src/mongo/client/dbclient_rs.h
index bddd64643b0..25844b264bc 100644
--- a/src/mongo/client/dbclient_rs.h
+++ b/src/mongo/client/dbclient_rs.h
@@ -217,6 +217,10 @@ public:
*/
virtual void reset();
+ bool isMongos() const override {
+ return false;
+ }
+
/**
* @bool setting if true, DBClientReplicaSet connections will make sure that secondary
* connections are authenticated and log them before returning them to the pool.