1 | #pragma once |
---|---|
2 | |
3 | |
4 | namespace DB |
5 | { |
6 | |
7 | class 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. |
11 | void 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. |
14 | void loadMetadata(Context & context); |
15 | |
16 | } |
17 |