mirror of
https://github.com/MariaDB/server.git
synced 2025-02-05 21:32:18 +01:00
19 lines
628 B
Text
19 lines
628 B
Text
CREATE TABLE t1(
|
|
a INT AUTO_INCREMENT PRIMARY KEY,
|
|
b CHAR(1),
|
|
c INT,
|
|
INDEX(b))
|
|
ENGINE=InnoDB STATS_PERSISTENT=0;
|
|
SET GLOBAL innodb_change_buffering_debug = 1;
|
|
SET GLOBAL innodb_change_buffering=all;
|
|
INSERT INTO t1 SELECT 0,'x',1 FROM seq_1_to_1024;
|
|
# restart: --innodb-force-recovery=6 --innodb-change-buffer-dump
|
|
check table t1;
|
|
Table Op Msg_type Msg_text
|
|
test.t1 check Warning InnoDB: Index 'b' contains 990 entries, should be 1024.
|
|
test.t1 check error Corrupt
|
|
SET GLOBAL innodb_buf_flush_list_now=ON;
|
|
# restart: --innodb-force_recovery=0
|
|
SET GLOBAL innodb_fast_shutdown=0;
|
|
# restart: --innodb-force_recovery=0
|
|
DROP TABLE t1;
|