1CREATE TABLE t1(
2a INT AUTO_INCREMENT PRIMARY KEY,
3b CHAR(1),
4c INT,
5INDEX(b))
6ENGINE=InnoDB STATS_PERSISTENT=0;
7SET GLOBAL innodb_change_buffering_debug = 1;
8SET GLOBAL innodb_change_buffering=all;
9INSERT INTO t1 SELECT 0,'x',1 FROM seq_1_to_1024;
10# restart: --innodb-force-recovery=6 --innodb-change-buffer-dump
11check table t1;
12Table	Op	Msg_type	Msg_text
13test.t1	check	Warning	InnoDB: Index 'b' contains 990 entries, should be 1024.
14test.t1	check	error	Corrupt
15# restart
16SET GLOBAL innodb_fast_shutdown=0;
17# restart
18DROP TABLE t1;
19