• Marko Mäkelä's avatar
    MDEV-20814 Assertion index->is_instant() failed on trivial upgrade from 10.1 · fa6c6062
    Marko Mäkelä authored
    rec_init_offsets(): Relax the assertion that was added in
    commit 01f45bec
    to catch ROW_FORMAT=REDUNDANT records that have fewer fields
    than expected.
    
    This assertion would fail when accessing the records of the
    built-in InnoDB table SYS_INDEXES. The column MERGE_THRESHOLD
    had been effectively instantly added in MariaDB Server 10.2
    (and MySQL 5.7), but is_instant() does not hold for that index.
    Relax the assertion, so that it will not fail in this case.
    fa6c6062
rem0rec.cc 72.4 KB