summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2017-08-28 09:45:54 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2017-08-28 09:49:30 +0300
commit61096ff214dec68a66efb811aa3a70ef49f06a11 (patch)
tree674f585b1efb4d5d3a99cc87fc90e3c63fe18521 /mysys
parent882f4566e55694b4f68f61ee723678b49d7e0d8f (diff)
downloadmariadb-git-61096ff214dec68a66efb811aa3a70ef49f06a11.tar.gz
MDEV-13591: InnoDB: Database page corruption on disk or a failed file read and assertion failure
Problem is that page 0 and its possible enrryption information is not read for undo tablespaces. fil_crypt_get_latest_key_version(): Do not send event to encryption threads if event does not yet exists. Seen on regression testing. fil_read_first_page: Add new parameter does page belong to undo tablespace and if it does, we do not read FSP_HEADER. srv_undo_tablespace_open : Read first page of the tablespace to get crypt_data if it exists and pass it to fil_space_create. Tested using innodb_encryption with combinations with innodb-undo-tablespaces.
Diffstat (limited to 'mysys')
0 files changed, 0 insertions, 0 deletions