From d51c3df7b6b2c45137909b0379fe986a9cc67cbf Mon Sep 17 00:00:00 2001 From: Alexander Tokmakov Date: Tue, 14 Jan 2020 22:01:56 +0300 Subject: [PATCH] fix --- dbms/src/Interpreters/loadMetadata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Interpreters/loadMetadata.cpp b/dbms/src/Interpreters/loadMetadata.cpp index de1ed00e74a..241385f97ec 100644 --- a/dbms/src/Interpreters/loadMetadata.cpp +++ b/dbms/src/Interpreters/loadMetadata.cpp @@ -139,7 +139,7 @@ void loadMetadataSystem(Context & context) Poco::File(global_path + "data/" SYSTEM_DATABASE).createDirectories(); Poco::File(global_path + "metadata/" SYSTEM_DATABASE).createDirectories(); - auto system_database = std::make_shared(SYSTEM_DATABASE, global_path + "metadata/" SYSTEM_DATABASE, context); + auto system_database = std::make_shared(SYSTEM_DATABASE, global_path + "metadata/" SYSTEM_DATABASE "/", context); context.addDatabase(SYSTEM_DATABASE, system_database); }