• Thirunarayanan Balathandayuthapani's avatar
    MDEV-20320 Tablespace flags mismatch for full_crc32 format · e2f570bf
    Thirunarayanan Balathandayuthapani authored
    Files for PAGE_COMPRESSED tables that were created with
    innodb_checksum_algorithm=full_crc32 store the value of
    innodb_compression_algorithm at the time of the file creation.
    
    The server-wide setting of innodb_compression_algorithm
    may be changed after file creation. We must ignore any mismatch
    when opening a data file, and for writes, we must use the
    choice of algorithm that is stored in the file.
    
    fil_space_t::is_flags_full_crc32_equal(): Ignore the
    innodb_compression_algorithm but do compare innodb_page_size.
    
    fil_space_t::is_flags_non_full_crc32_equal(): Ignore the
    innodb_compression_algorithm.
    e2f570bf
full_crc32_import.result 4.96 KB