| 1 |
call mtr.add_suppression("InnoDB: Plugin initialization aborted"); |
| 2 |
call mtr.add_suppression("Fewer engines are enabled now than were before the crash"); |
| 3 |
call mtr.add_suppression("plugin 'InnoDB' registration as a STORAGE ENGINE failed."); |
| 4 |
CREATE TABLE t1(f1 INT NOT NULL, f2 TEXT)ENGINE=InnoDB; |
| 5 |
# restart: --debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0 |
| 6 |
INSERT INTO t1 SELECT seq, repeat('a', 4000) FROM seq_1_to_1800; |
| 7 |
# restart: --debug_dbug=+d,before_final_redo_apply --innodb_log_file_size=8M |
| 8 |
# restart: --innodb_log_file_size=10M |
| 9 |
# |
| 10 |
# MDEV-34519 innodb_log_checkpoint_now crashes when |
| 11 |
# innodb_read_only is enabled |
| 12 |
# |
| 13 |
# restart: --innodb-force-recovery=6 |
| 14 |
SET GLOBAL innodb_log_checkpoint_now=1; |
| 15 |
Warnings: |
| 16 |
Warning 138 InnoDB doesn't force checkpoint when innodb-force-recovery=6. |
| 17 |
# restart: --innodb-read-only=1 |
| 18 |
SET GLOBAL innodb_log_checkpoint_now=1; |
| 19 |
Warnings: |
| 20 |
Warning 138 InnoDB doesn't force checkpoint when innodb-read-only=1. |
| 21 |
# restart |
| 22 |
DROP TABLE t1; |