• Marko Mäkelä's avatar
    MDEV-19335 adjustment for innodb_checksum_algorithm=full_crc32 · 0f7732d1
    Marko Mäkelä authored
    When MDEV-12026 introduced innodb_checksum_algorithm=full_crc32 in
    MariaDB 10.4, it accidentally added a dependency on buf_page_t::encrypted.
    Now that the flag has been removed, we must adjust the page-read routine.
    
    buf_page_io_complete(): When the full_crc32 page checksum matches but the
    tablespace ID in the page does not match after decrypting, we should
    declare it a decryption failure and suppress the page dump output and
    any attempts to re-read the page.
    0f7732d1
innodb-bad-key-change.result 3.24 KB