MDEV-17958: Remove WITH_INNODB_BUG_ENDIAN_CRC32

Remove the bug-compatible crc32 algorithm variant that was added
to allow an upgrade from data files from big-endian systems where
innodb_checksum_algorithm=crc32 was used on MySQL 5.6
or MariaDB 10.0 or 10.1.

Affected users should be able to recompute page checksums using
innochecksum.
This commit is contained in:
Marko Mäkelä 2018-12-13 22:19:09 +02:00
commit 62d28f83b6
9 changed files with 10 additions and 241 deletions

View file

@ -498,12 +498,7 @@ uint32_t
page_zip_calc_checksum(
const void* data,
ulint size,
srv_checksum_algorithm_t algo
#ifdef INNODB_BUG_ENDIAN_CRC32
/** for crc32, use the big-endian bug-compatible crc32 variant */
, bool use_legacy_big_endian = false
#endif
);
srv_checksum_algorithm_t algo);
/**********************************************************************//**
Verify a compressed page's checksum.