mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
Create StorageReplicatedMergeTree.cpp
This commit is contained in:
parent
c1310841d9
commit
bb4a8e91f7
@ -233,7 +233,7 @@ static String extractZooKeeperPath(const String & path, bool check_starts_with_s
|
||||
if (path.empty())
|
||||
throw Exception("ZooKeeper path should not be empty", ErrorCodes::BAD_ARGUMENTS);
|
||||
if (path[0] == '/')
|
||||
return path;
|
||||
return normalizeZooKeeperPath(path, check_starts_with_slash, log);
|
||||
auto pos = path.find(":/");
|
||||
if (pos != String::npos && pos < path.find('/'))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user