• Marko Mäkelä's avatar
    MDEV-15937 Assertion failure 'key->flags & 1' on ALTER TABLE · 01b2e773
    Marko Mäkelä authored
    While the test case crashes a MariaDB 10.2 debug build only,
    let us apply the fix to the earliest applicable MariaDB series (10.0)
    to avoid any data corruption on a table-rebuilding ALTER TABLE
    using ALGORITHM=INPLACE.
    
    innobase_create_key_defs(): Use altered_table->s->primary_key
    when a new primary key is being created.
    01b2e773
innodb-alter-nullable.result 1.74 KB