MDEV-17938: ALTER TABLE error handling accesses freed memory
This regression was introduced in MDEV-11369 instant ADD COLUMN. prepare_inplace_alter_table_dict(): Avoid dereferencing ctx->new_table after row_create_table_for_mysql() returns a failure code, because it will have freed the memory.
Showing
Please register or sign in to comment