mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
revert previous fix
This commit is contained in:
parent
163be41718
commit
3cc7e1407d
@ -273,10 +273,9 @@ try
|
||||
global_context->setCurrentDatabase(default_database);
|
||||
applyCmdOptions(*global_context);
|
||||
|
||||
if (config().has("path"))
|
||||
String path = global_context->getPath();
|
||||
if (!path.empty())
|
||||
{
|
||||
String path = global_context->getPath();
|
||||
|
||||
/// Lock path directory before read
|
||||
status.emplace(path + "status", StatusFile::write_full_info);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user