mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Fix path
This commit is contained in:
parent
706c055656
commit
460c01f2ea
@ -231,7 +231,8 @@ struct KeeperStorageCreateRequestProcessor final : public KeeperStorageRequestPr
|
||||
bool checkAuth(KeeperStorage & storage, int64_t session_id) const override
|
||||
{
|
||||
auto & container = storage.container;
|
||||
auto parent_path = parentPath(zk_request->getPath());
|
||||
auto path = zk_request->getPath();
|
||||
auto parent_path = parentPath(path);
|
||||
|
||||
auto it = container.find(parent_path);
|
||||
if (it == container.end())
|
||||
|
Loading…
Reference in New Issue
Block a user