mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-08 01:20:55 +00:00
Merge branch 'secure_password' of https://github.com/millb/ClickHouse into secure_password
This commit is contained in:
commit
867d384979
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user