Merge branch 'secure_password' of https://github.com/millb/ClickHouse into secure_password

This commit is contained in:
Mikhail Korotov 2020-01-31 12:30:30 +03:00
commit 867d384979

View File

@ -147,7 +147,7 @@ Cluster::Address Cluster::Address::fromFullString(const String & full_string)
const char * address_begin = full_string.data();
bool has_shard = startsWith("shard", full_string);
bool underscore = strchr(full_string.data(), '_');
const char * underscore = strchr(full_string.data(), '_');
Address address;
address.shard_number = has_shard ? parse<UInt32>(address_begin + 5) : 0;