summaryrefslogtreecommitdiff
path: root/include/mysql.h.pp
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2017-12-19 16:45:10 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2017-12-19 16:45:10 +0200
commited7e4b68ed59fb7c34dc06625dfe378e71d1e8a7 (patch)
tree2db8647e437454914670ca4a5eed9525d135f44b /include/mysql.h.pp
parent252e690c859b53c51c7eecf072f33dbaaa01bcdf (diff)
downloadmariadb-git-ed7e4b68ed59fb7c34dc06625dfe378e71d1e8a7.tar.gz
DEV-14701: install_db shows corruption for rest encryption with innodb_data_file_path=ibdata1:3M
Problem was that crypt_data->min_key_version is not a reliable way to detect is tablespace encrypted and could lead that in first page of the second (page 192 and similarly for other files if more configured) system tablespace file used key_version is replaced with zero leading a corruption as in next startup page is though to be corrupted. Note that crypt_data->min_key_version is updated only after all pages from tablespace have been processed (i.e. key rotation is done) and flushed. fil_write_flushed_lsn Use crypt_data->should_encrypt() instead.
Diffstat (limited to 'include/mysql.h.pp')
0 files changed, 0 insertions, 0 deletions