summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-06-07 17:46:59 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-06-08 13:21:33 +0300
commitdfa2d0bc13362b949b1b1699955583f74e7db90a (patch)
tree892195108894081cdefaeab847b70850637d7600 /mysql-test/t
parent3c922d6defcfa6be819fe33794abcf507bb70c25 (diff)
downloadmariadb-git-dfa2d0bc13362b949b1b1699955583f74e7db90a.tar.gz
MDEV-25869 Change buffer entries are lost on InnoDB restartmariadb-10.2.39
buf_read_ibuf_merge_pages(): If space->size is 0, invoke fil_space_get_size() to determine the size of the tablespace by reading the header page. Only after that proceed to delete any entries that are beyond the end of the tablespace. Otherwise, we could be deleting valid entries that actually need to be applied. This fixes a regression that had been introduced in commit b80df9eba23b4eb9694e770a41135127c6dbc5df (MDEV-21069), which aimed to avoid crashes during DROP TABLE of corrupted tables.
Diffstat (limited to 'mysql-test/t')
0 files changed, 0 insertions, 0 deletions