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 /mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test | |
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 'mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test')
-rw-r--r-- | mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test b/mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test index 79d9cc814a0..9c5acedb620 100644 --- a/mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test +++ b/mysql-test/suite/innodb/t/innodb-change-buffer-recovery.test @@ -35,9 +35,16 @@ ENGINE=InnoDB STATS_PERSISTENT=0; SET GLOBAL innodb_change_buffering_debug = 1; let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err; +# The removed function page_copy_rec_list_end_to_created_page() would create +# less dense pages than the remaining part of page_copy_rec_list_end(). +# For the INSERT after the DELETE to be buffered, the leftmost page +# must not be too densely packed. +SET GLOBAL innodb_limit_optimistic_insert_debug=700; + # Create enough rows for the table, so that the change buffer will be # used for modifying the secondary index page. There must be multiple # index pages, because changes to the root page are never buffered. + INSERT INTO t1 SELECT 0,'x',1 FROM seq_1_to_8192; BEGIN; |