diff options
author | Eugene Kosov <claprix@yandex.ru> | 2020-03-11 16:40:34 +0300 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2020-03-11 18:02:12 +0300 |
commit | 7f36300df56da317a46aff1f58b6cdc0e5727cf6 (patch) | |
tree | 4123fada3b9752865cd0f5ae8d9ccee3ff2a331f /CMakeLists.txt | |
parent | df88e7cefaa7dcffdc52359b73a1087e8569e000 (diff) | |
download | mariadb-git-7f36300df56da317a46aff1f58b6cdc0e5727cf6.tar.gz |
MDEV-21918 improve page_zip_verify_checksum()
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 c0f47a4a5842 innodb_checksum_algorithm=full_crc32
exists which computes CRC32 in one go (without bitwise arithmetic)
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions