summaryrefslogtreecommitdiff
path: root/mysys_ssl
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2020-03-11 16:40:34 +0300
committerEugene Kosov <claprix@yandex.ru>2020-03-11 18:02:12 +0300
commit7f36300df56da317a46aff1f58b6cdc0e5727cf6 (patch)
tree4123fada3b9752865cd0f5ae8d9ccee3ff2a331f /mysys_ssl
parentdf88e7cefaa7dcffdc52359b73a1087e8569e000 (diff)
downloadmariadb-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 'mysys_ssl')
0 files changed, 0 insertions, 0 deletions