diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-13 18:35:04 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-13 18:35:04 +0200 |
commit | 49019dde6515aceb53f38a70bf85d29d18ad9095 (patch) | |
tree | 9b6d521df72ddc8a87756f624822e812b9e6c84d /sql/sql_delete.h | |
parent | 2b7aa60b7e6973e33b0990926ddfdab8c7715ff9 (diff) | |
download | mariadb-git-49019dde6515aceb53f38a70bf85d29d18ad9095.tar.gz |
MDEV-17138 follow-up: Optimize index page creation
btr_create(), btr_root_raise_and_insert(): Write a MLOG_MEMSET record
to set FIL_PAGE_PREV,FIL_PAGE_NEXT to FIL_NULL, instead of writing
two MLOG_4BYTES records.
For ROW_FORMAT=COMPRESSED pages, we will not use MLOG_MEMSET
because we want the crash-downgrade to earlier 10.4 releases to succeed.
mlog_parse_nbytes(): Relax the too strict assertion. There is no problem
with MLOG_MEMSET records that affect the uncompressed header of
ROW_FORMAT=COMPRESSED index pages.
Diffstat (limited to 'sql/sql_delete.h')
0 files changed, 0 insertions, 0 deletions