diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-12-18 09:52:28 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-12-18 09:52:28 +0200 |
commit | 84f119f25c6464b791ae7b494d6dadf0c5974477 (patch) | |
tree | 188d1ffb4430af6b872444acc67e7876d7c37d36 /sql/slave.cc | |
parent | 51a1fc737c26570386220edd4d8e69e873b8dfa7 (diff) | |
download | mariadb-git-84f119f25c6464b791ae7b494d6dadf0c5974477.tar.gz |
MDEV-12112/MDEV-12114: Relax strict_innodb, strict_none
Starting with commit 6b6987154a23a8eba72fd58cbff915ae6d17189f
the encrypted page checksum is only computed with crc32.
Encrypted data pages that were written earlier can contain
other checksums, but new ones will only contain crc32.
Because of this, it does not make sense to implement strict
checks of innodb_checksum_algorithm for other than strict_crc32.
fil_space_verify_crypt_checksum(): Treat strict_innodb as innodb
and strict_none as none. That is, allow a match from any of the
algorithms none, innodb, crc32. (This is how it worked before the
second MDEV-12112 fix.)
Thanks to Thirunarayanan Balathandayuthapani for pointing this out.
Diffstat (limited to 'sql/slave.cc')
0 files changed, 0 insertions, 0 deletions