mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
17 lines
464 B
C++
17 lines
464 B
C++
#pragma once
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Context;
|
|
|
|
/// Load tables from system database. Only real tables like query_log, part_log.
|
|
/// You should first load system database, then attach system tables that you need into it, then load other databases.
|
|
void loadMetadataSystem(Context & context);
|
|
|
|
/// Load tables from databases and add them to context. Database 'system' is ignored. Use separate function to load system tables.
|
|
void loadMetadata(Context & context);
|
|
|
|
}
|