• Eugene Kosov's avatar
    MDEV-21918 improve page_zip_verify_checksum() · 7f36300d
    Eugene Kosov authored
    actually, page_zip_verify_checksum() generally allows all-zeroes
    checksums because our CRC32 checksum is something like
    crc_1 ^ crc_2 ^ crc_3
    
    Also, all zeroes page is considered correct.
    
    As a side effect fix nasty reinterpret_cast<> UB
    
    Also, since c0f47a4a innodb_checksum_algorithm=full_crc32
    exists which computes CRC32 in one go (without bitwise arithmetic)
    7f36300d
page0zip.cc 142 KB