summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/r/ibuf_not_empty.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/r/ibuf_not_empty.result')
-rw-r--r--mysql-test/suite/innodb/r/ibuf_not_empty.result17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/ibuf_not_empty.result b/mysql-test/suite/innodb/r/ibuf_not_empty.result
new file mode 100644
index 00000000..d1b8203b
--- /dev/null
+++ b/mysql-test/suite/innodb/r/ibuf_not_empty.result
@@ -0,0 +1,17 @@
+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;
+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
+# restart
+SET GLOBAL innodb_fast_shutdown=0;
+# restart
+DROP TABLE t1;