summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2016-10-31 12:44:06 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2016-10-31 12:44:06 +0200
commit554c60ab0d383e8e6d473294fb86a9db0b0d2b9b (patch)
treed8dc396801f3ffe43e8c813a7438915896783034 /sql/slave.cc
parentcb5685a87239d35ff4173192cbc345605bdb1e1a (diff)
downloadmariadb-git-554c60ab0d383e8e6d473294fb86a9db0b0d2b9b.tar.gz
MDEV-11182: InnoDB: Assertion failure in file buf0buf.cc line 4730 (encryption.create_or_replace fails in buildbot and outside)
Analysis: Problem is that page is encrypted but encryption information on page 0 has already being changed. Fix: If page header contains key_version != 0 and even if based on current encryption information tablespace is not encrypted we need to check is page corrupted. If it is not, then we know that page is not encrypted. If page is corrupted, we need to try to decrypt it and then compare the stored and calculated checksums to see is page corrupted or not.
Diffstat (limited to 'sql/slave.cc')
0 files changed, 0 insertions, 0 deletions