mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
clickhouse: fixed build [#CONV-6561].
This commit is contained in:
parent
e7c3e10814
commit
2152aa56ca
@ -124,10 +124,10 @@ int Server::main(const std::vector<std::string> & args)
|
||||
/// Создаём системные таблицы.
|
||||
global_context.addDatabase("system");
|
||||
|
||||
global_context.addTable("system", "one", (new StorageSystemOne("one"))->thisPtr());
|
||||
global_context.addTable("system", "numbers", (new StorageSystemNumbers("numbers"))->thisPtr());
|
||||
global_context.addTable("system", "tables", (new StorageSystemTables("tables", global_context))->thisPtr());
|
||||
global_context.addTable("system", "databases", (new StorageSystemDatabases("databases", global_context))->thisPtr());
|
||||
global_context.addTable("system", "one", StorageSystemOne::create("one"));
|
||||
global_context.addTable("system", "numbers", StorageSystemNumbers::create("numbers"));
|
||||
global_context.addTable("system", "tables", StorageSystemTables::create("tables", global_context));
|
||||
global_context.addTable("system", "databases", StorageSystemDatabases::create("databases", global_context));
|
||||
|
||||
global_context.setCurrentDatabase(config.getString("default_database", "default"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user