This commit is contained in:
Alexander Tokmakov 2020-01-14 22:01:56 +03:00
parent e63ef08af8
commit d51c3df7b6

View File

@ -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<DatabaseOrdinary>(SYSTEM_DATABASE, global_path + "metadata/" SYSTEM_DATABASE, context);
auto system_database = std::make_shared<DatabaseOrdinary>(SYSTEM_DATABASE, global_path + "metadata/" SYSTEM_DATABASE "/", context);
context.addDatabase(SYSTEM_DATABASE, system_database);
}