revert previous fix

This commit is contained in:
Alexander Tokmakov 2021-01-12 21:45:44 +03:00
parent 163be41718
commit 3cc7e1407d

View File

@ -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);