• Marko Mäkelä's avatar
    MDEV-24758 heap-use-after-poison in innobase_add_instant_try/rec_copy · 4d412e98
    Marko Mäkelä authored
    This is a backport of
    commit fd9ca2a7 (MDEV-23295) and
    commit 9a156e1a (MDEV-23345) to 10.3.
    
    An instant ADD/DROP/reorder column could create a dummy table
    object with the wrong ROW_FORMAT when innodb_default_row_format
    was changed between CREATE TABLE and ALTER TABLE.
    
    prepare_inplace_alter_table_dict(): If we had promised that
    ALGORITHM=INPLACE is supported, we must preserve the ROW_FORMAT.
    
    The rest of the changes are related to adding
    Alter_inplace_info::inplace_supported to cache the return value of
    handler::check_if_supported_inplace_alter().
    4d412e98
sql_alter.h 11.5 KB