summaryrefslogtreecommitdiff
path: root/storage/columnstore
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-06-08 09:48:12 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-06-08 09:48:12 +0300
commit892c426371b4be558d32fdeba7d1d56f46b40f2b (patch)
treeebad90e8faadc67c5bcf4a7f4c9feef130a56120 /storage/columnstore
parentc9498f33dea998de7a128dcd86368f064513cea6 (diff)
downloadmariadb-git-892c426371b4be558d32fdeba7d1d56f46b40f2b.tar.gz
MDEV-13542: Do not crash on decryption failure
fil_page_type_validate(): Remove. This debug check was mostly redundant and added little value to the code paths that deal with page_compressed or encrypted pages. fil_get_page_type_name(): Remove; unused function. fil_space_decrypt(): Return an error if the page is not supposed to be encrypted. It is possible that an unencrypted page contains a nonzero key_version field even though it is not supposed to be encrypted. Previously we would crash in such a situation. buf_page_decrypt_after_read(): Simplify the code. Remove some unnecessary error message about temporary tablespace corruption. This is where we would usually invoke fil_space_decrypt().
Diffstat (limited to 'storage/columnstore')
0 files changed, 0 insertions, 0 deletions