summaryrefslogtreecommitdiff
path: root/src/mongo/client/scoped_db_conn_test.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-07-14 18:08:54 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-07-21 14:39:26 -0400
commit1bfa39c1d841e20cda3e198f57adf4eca0ebb653 (patch)
tree785e9f2db674afeb319b4a09bd670563d18ca471 /src/mongo/client/scoped_db_conn_test.cpp
parent923fcee186e7f1f4a908c9a8ff62fb30c23d5dc5 (diff)
downloadmongo-1bfa39c1d841e20cda3e198f57adf4eca0ebb653.tar.gz
SERVER-19395 Write commands should use ShardConnection
With this change all legacy-style (non-NetworkInterface) communication from mongos to shard mongod is going through ShardConnection and will always end the shard initialization data at connection establishment.
Diffstat (limited to 'src/mongo/client/scoped_db_conn_test.cpp')
-rw-r--r--src/mongo/client/scoped_db_conn_test.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/client/scoped_db_conn_test.cpp b/src/mongo/client/scoped_db_conn_test.cpp
index bfdc8dab4dc..59f02f20a1a 100644
--- a/src/mongo/client/scoped_db_conn_test.cpp
+++ b/src/mongo/client/scoped_db_conn_test.cpp
@@ -98,10 +98,6 @@ void exitCleanly(ExitCode rc) {
dbexit(rc, "");
}
-bool haveLocalShardingInfo(Client* client, const string& ns) {
- return false;
-}
-
namespace {
const string TARGET_HOST = "localhost:27017";