diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2018-12-18 18:07:17 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2018-12-18 18:07:17 +0530 |
commit | 171271edf8204d6a958a00631ea6ce4050f84b9e (patch) | |
tree | 2d0725dd2fe4375349d9c087788ac2154bd1605b /sql/rpl_utility.h | |
parent | 84f119f25c6464b791ae7b494d6dadf0c5974477 (diff) | |
download | mariadb-git-171271edf8204d6a958a00631ea6ce4050f84b9e.tar.gz |
MDEV-18025 Mariabackup fails to detect corrupted page_compressed=1 tables
Problem:
=======
Mariabackup seems to fail to verify the pages of compressed tables.
The reason is that both fil_space_verify_crypt_checksum() and
buf_page_is_corrupted() will skip the validation for compressed pages.
Fix:
====
Mariabackup should call fil_page_decompress() for compressed and encrypted
compressed page. After that, call buf_page_is_corrupted() to
check the page corruption.
Diffstat (limited to 'sql/rpl_utility.h')
0 files changed, 0 insertions, 0 deletions