diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-06-07 17:46:59 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-06-08 13:21:33 +0300 |
commit | dfa2d0bc13362b949b1b1699955583f74e7db90a (patch) | |
tree | 892195108894081cdefaeab847b70850637d7600 /debian/mariadb-plugin-cracklib-password-check.install | |
parent | 3c922d6defcfa6be819fe33794abcf507bb70c25 (diff) | |
download | mariadb-git-mariadb-10.2.39.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 'debian/mariadb-plugin-cracklib-password-check.install')
0 files changed, 0 insertions, 0 deletions