From c860e193800395478ddeeb77ea8ea44efa5d3e3e Mon Sep 17 00:00:00 2001 From: Sema Checherinda Date: Wed, 15 May 2024 13:41:34 +0200 Subject: [PATCH] clickhouse disks reads server configs --- src/Interpreters/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/Context.cpp b/src/Interpreters/Context.cpp index 98d6031edca..400afadb9c9 100644 --- a/src/Interpreters/Context.cpp +++ b/src/Interpreters/Context.cpp @@ -4467,7 +4467,7 @@ void Context::setApplicationType(ApplicationType type) /// Lock isn't required, you should set it at start shared->application_type = type; - if (type == ApplicationType::LOCAL || type == ApplicationType::SERVER) + if (type == ApplicationType::LOCAL || type == ApplicationType::SERVER || type == ApplicationType::DISKS) shared->server_settings.loadSettingsFromConfig(Poco::Util::Application::instance().config()); if (type == ApplicationType::SERVER)