| 1 |
call mtr.add_suppression("InnoDB: The change buffer is corrupted"); |
| 2 |
call mtr.add_suppression("InnoDB: Plugin initialization aborted at srv0start.cc"); |
| 3 |
call mtr.add_suppression("Plugin 'InnoDB' init function returned error"); |
| 4 |
call mtr.add_suppression("Plugin 'InnoDB' registration as a STORAGE ENGINE failed."); |
| 5 |
call mtr.add_suppression("Fewer engines are enabled now than were before the crash"); |
| 6 |
CREATE TABLE t1(c TEXT, KEY(c(3072)))ENGINE=InnoDB CHARSET=latin1; |
| 7 |
CREATE PROCEDURE dorepeat() |
| 8 |
LOOP |
| 9 |
INSERT INTO t1 VALUES ('abc'); |
| 10 |
UPDATE t1 SET c='cba'; |
| 11 |
END LOOP |
| 12 |
| |
| 13 |
connect con1,localhost,root,,,; |
| 14 |
CALL dorepeat(); |
| 15 |
connection default; |
| 16 |
# restart: --innodb_buffer_pool_size=6m |
| 17 |
DROP TABLE t1; |
| 18 |
DROP PROCEDURE dorepeat; |
| 19 |
# |
| 20 |
# MDEV-30552 InnoDB recovery crashes when error |
| 21 |
# handling scenario |
| 22 |
# |
| 23 |
SET DEBUG_DBUG="+d,ib_log_checkpoint_avoid_hard"; |
| 24 |
CREATE TABLE t1(f1 INT NOT NULL)ENGINE=InnoDB; |
| 25 |
INSERT INTO t1 SELECT * FROM seq_1_to_65536; |
| 26 |
# restart: with restart_parameters |
| 27 |
# restart |
| 28 |
SHOW CREATE TABLE t1; |
| 29 |
Table Create Table |
| 30 |
t1 CREATE TABLE `t1` ( |
| 31 |
`f1` int(11) NOT NULL |
| 32 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
| 33 |
DROP TABLE t1; |