mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Merge branch 'master' into keeper_handler_remove_operation_when_response_sent
This commit is contained in:
commit
7cf7c5d247
@ -13,7 +13,7 @@ ASTPtr tryGetTableOverride(const String & mapped_database, const String & table)
|
||||
if (auto database_ptr = DatabaseCatalog::instance().tryGetDatabase(mapped_database))
|
||||
{
|
||||
auto create_query = database_ptr->getCreateDatabaseQuery();
|
||||
if (auto create_database_query = create_query->as<ASTCreateQuery>())
|
||||
if (auto * create_database_query = create_query->as<ASTCreateQuery>())
|
||||
{
|
||||
if (create_database_query->table_overrides)
|
||||
{
|
||||
|
@ -468,7 +468,7 @@ ASTPtr StorageMaterializedPostgreSQL::getCreateNestedTableQuery(
|
||||
columns_declare_list->set(columns_declare_list->columns, getColumnsExpressionList(ordinary_columns_and_types));
|
||||
}
|
||||
|
||||
auto columns = table_override->columns;
|
||||
auto * columns = table_override->columns;
|
||||
if (columns && columns->constraints)
|
||||
constraints = ConstraintsDescription(columns->constraints->children);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user