1#pragma once
2
3
4namespace DB
5{
6
7class Context;
8
9/// Load tables from system database. Only real tables like query_log, part_log.
10/// You should first load system database, then attach system tables that you need into it, then load other databases.
11void loadMetadataSystem(Context & context);
12
13/// Load tables from databases and add them to context. Database 'system' is ignored. Use separate function to load system tables.
14void loadMetadata(Context & context);
15
16}
17