Skip to main content

merge_alter_table_expr

Function merge_alter_table_expr 

Source
fn merge_alter_table_expr(
    alter_tables: &mut Vec<AlterTableExpr>,
    alter_expr: AlterTableExpr,
)
Expand description

Merges alter_expr into the pending ALTER of the same table, so each table gets one AddColumns. An ALTER LOGICAL TABLES procedure reads the metadata of each table once and fails on a second ALTER of the same table.