• Marko Mäkelä's avatar
    dict_table_t::init_instant(): Remove a bogus assertion · f6481457
    Marko Mäkelä authored
    This is basically re-applying 8fe34dd4.
    Assertions about ROW_FORMAT not changing during instant ALTER TABLE can
    fail if the MariaDB and InnoDB data dictionaries get out of sync,
    for example if innodb_default_row_format is used instead of specifying
    ROW_FORMAT in the CREATE TABLE statement. In this case, ALTER_OPTIONS
    would not necessarily be set. We would create the ctx->instant_table
    with a ROW_FORMAT based on altered_table. When applying it to
    the ctx->old_table, we will preserve the original ROW_FORMAT.
    f6481457
handler0alter.cc 309 KB