• Marko Mäkelä's avatar
    MDEV-31574: Assertion failure on REPLACE on ROW_FORMAT=COMPRESSED table · 64f44b22
    Marko Mäkelä authored
    btr_cur_update_in_place(): Update the DB_TRX_ID,DB_ROLL_PTR also on the
    compressed copy of the page. In a test case, a server built with
    cmake -DWITH_INNODB_EXTRA_DEBUG=ON would crash in page_zip_validate()
    due to the inconsistency. In a normal debug build, a different assertion
    would fail, depending on when the uncompressed page was restored from
    the compressed page.
    
    In MariaDB Server 10.5, this bug had already been fixed by
    commit b3d02a1f (MDEV-12353).
    64f44b22
btr0cur.cc 252 KB