summaryrefslogtreecommitdiff
path: root/src/mongo/client/connection_string_connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/connection_string_connect.cpp')
-rw-r--r--src/mongo/client/connection_string_connect.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/client/connection_string_connect.cpp b/src/mongo/client/connection_string_connect.cpp
index efca34792e6..3a8e0287656 100644
--- a/src/mongo/client/connection_string_connect.cpp
+++ b/src/mongo/client/connection_string_connect.cpp
@@ -36,7 +36,6 @@
#include "mongo/client/dbclient_rs.h"
#include "mongo/client/dbclientinterface.h"
-#include "mongo/client/syncclusterconnection.h"
#include "mongo/stdx/memory.h"
#include "mongo/util/assert_util.h"
#include "mongo/util/log.h"
@@ -69,15 +68,6 @@ DBClientBase* ConnectionString::connect(std::string& errmsg, double socketTimeou
return set.release();
}
- case SYNC: {
- // TODO , don't copy
- std::list<HostAndPort> l;
- for (unsigned i = 0; i < _servers.size(); i++)
- l.push_back(_servers[i]);
- SyncClusterConnection* c = new SyncClusterConnection(l, socketTimeout);
- return c;
- }
-
case CUSTOM: {
// Lock in case other things are modifying this at the same time
stdx::lock_guard<stdx::mutex> lk(_connectHookMutex);