diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-22 18:51:29 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-13 18:19:14 +0200 |
commit | 276f996af917851b9c5fef4a41f93e68d398af36 (patch) | |
tree | 522552a9577fefede6476cd88e62acb8f259a5f6 /storage/innobase/include/page0cur.h | |
parent | acd265b69ba086597f20847a3de87e98f2450f17 (diff) | |
download | mariadb-git-276f996af917851b9c5fef4a41f93e68d398af36.tar.gz |
MDEV-12353: Replace MLOG_*_END_COPY_CREATED
Instead of writing the high-level redo log records
MLOG_LIST_END_COPY_CREATED, MLOG_COMP_LIST_END_COPY_CREATED
write log for each individual insert of a record.
page_copy_rec_list_end_to_created_page(): Remove.
This will improve the fill factor of some pages.
Adjust some tests accordingly.
PageBulk::init(), PageBulk::finish(): Avoid setting bogus limits
to PAGE_HEAP_TOP and PAGE_N_DIR_SLOTS. Avoid accessor functions
that would enforce these limits before the correct ones are set
at the end of PageBulk::finish().
Diffstat (limited to 'storage/innobase/include/page0cur.h')
-rw-r--r-- | storage/innobase/include/page0cur.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/include/page0cur.h b/storage/innobase/include/page0cur.h index ad5bee18606..fd1f38538bb 100644 --- a/storage/innobase/include/page0cur.h +++ b/storage/innobase/include/page0cur.h @@ -217,6 +217,7 @@ IMPORTANT: The caller will have to update IBUF_BITMAP_FREE if this is a compressed leaf page in a secondary index. This has to be done either within the same mini-transaction, or by invoking ibuf_reset_free_bits() before mtr_commit(). */ +ATTRIBUTE_COLD /* only used when crash-upgrading */ void page_copy_rec_list_end_to_created_page( /*===================================*/ |