Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit 26e4bed

Browse files
committed
Merged pull request #58
2 parents f362416 + 01b4118 commit 26e4bed

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/MongoDB/Driver/Manager.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,6 @@ static mongoc_uri_t *hippo_mongo_driver_manager_make_uri(const char *dsn, const
309309
mongoc_uri_set_option_as_int32(uri, s_key, (int32_t) value.toInt64());
310310
} else if (mongoc_uri_option_is_utf8(s_key) && value.isString()) {
311311
mongoc_uri_set_option_as_utf8(uri, s_key, value.toString().c_str());
312-
} else if (value.isArray()) {
313-
for (ArrayIter h_iter(value.toArray()); h_iter; ++h_iter) {
314-
const Variant& h_value = h_iter.second();
315-
316-
if (h_value.isString()) {
317-
mongoc_uri_parse_host(uri, h_value.toString().c_str());
318-
}
319-
}
320312
} else if (value.isString()) {
321313
if (!strcasecmp(s_key, "username")) {
322314
mongoc_uri_set_username(uri, value.toString().c_str());

0 commit comments

Comments
 (0)