mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Less directories
This commit is contained in:
parent
aea3090074
commit
b5f454fb46
@ -693,6 +693,7 @@ void LocalServer::processConfig()
|
||||
if (config().has("path"))
|
||||
{
|
||||
String path = global_context->getPath();
|
||||
fs::create_directories(fs::path(path));
|
||||
|
||||
/// Lock path directory before read
|
||||
status.emplace(fs::path(path) / "status", StatusFile::write_full_info);
|
||||
|
Loading…
Reference in New Issue
Block a user