mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Merge branch 'secure_password' of https://github.com/millb/ClickHouse into secure_password
This commit is contained in:
commit
ad77771b9a
@ -158,7 +158,7 @@ Cluster::Address Cluster::Address::fromFullString(const String & full_string)
|
||||
const char * user_pw_end = strchr(full_string.data(), '@');
|
||||
|
||||
/// parsing with format [shard{shard_index}[_replica{replica_index}]]
|
||||
if (!user_pw_end && startsWith("shard", full_string))
|
||||
if (!user_pw_end && startsWith(full_string, "shard"))
|
||||
{
|
||||
const char * underscore = strchr(full_string.data(), '_');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user