Debian Codegraph @

mysql-test/suite/innodb/r/sys_defragment_fail.result

raw
1 call mtr.add_suppression("InnoDB: Defragmentation of CLUST_IND in SYS_INDEXES failed: Data structure corruption");
2 call mtr.add_suppression("InnoDB: Defragmentation of CLUST_IND in SYS_COLUMNS failed: Data structure corruption");
3 call mtr.add_suppression("InnoDB: Cannot free the unused segments in system tablespace");
4 # restart
5 set GLOBAL innodb_file_per_table = 0;
6 Warnings:
7 Warning 1287 '@@innodb_file_per_table' is deprecated and will be removed in a future release
8 set GLOBAL innodb_limit_optimistic_insert_debug = 2;
9 CREATE TABLE t1(f1 INT NOT NULL, f2 INT NOT NULL)ENGINE=InnoDB;
10 INSERT INTO t1 SELECT seq, seq FROM seq_1_to_4096;
11 SET GLOBAL innodb_file_per_table= 1;
12 Warnings:
13 Warning 1287 '@@innodb_file_per_table' is deprecated and will be removed in a future release
14 CREATE TABLE t2(f1 INT NOT NULL PRIMARY KEY,
15 f2 VARCHAR(40))ENGINE=InnoDB PARTITION BY KEY() PARTITIONS 256;
16 INSERT INTO t1 SELECT seq, seq FROM seq_1_to_4096;
17 DROP TABLE t2;
18 InnoDB 0 transactions not purged
19 # restart
20 FOUND 1 /InnoDB: Found unexpected table in system tablespace: test\/t1/ in mysqld.1.err
21 DROP TABLE t1;
22 InnoDB 0 transactions not purged
23 # restart: --debug_dbug=+d,fail_after_level_defragment
24 FOUND 1 /InnoDB: Defragmentation of CLUST_IND in SYS_COLUMNS failed./ in mysqld.1.err
25 select name, file_size<$fsize shrunk
26 from information_schema.innodb_sys_tablespaces where space=0;
27 name shrunk
28 innodb_system 0
29 # restart: --debug_dbug=d,allocation_prepare_fail
30 FOUND 1 /InnoDB: Defragmentation of CLUST_IND in SYS_INDEXES failed./ in mysqld.1.err
31 select name, file_size<$fsize shrunk
32 from information_schema.innodb_sys_tablespaces where space=0;
33 name shrunk
34 innodb_system 0
35 # restart: --debug_dbug=d,relation_page_prepare_fail
36 FOUND 2 /InnoDB: Defragmentation of CLUST_IND in SYS_INDEXES failed./ in mysqld.1.err
37 select name, file_size<$fsize shrunk
38 from information_schema.innodb_sys_tablespaces where space=0;
39 name shrunk
40 innodb_system 0
41 # restart: --debug_dbug=d,remover_prepare_fail
42 FOUND 3 /InnoDB: Defragmentation of CLUST_IND in SYS_INDEXES failed./ in mysqld.1.err
43 select name, file_size<$fsize shrunk
44 from information_schema.innodb_sys_tablespaces where space=0;
45 name shrunk
46 innodb_system 0
47 # restart
48 FOUND 5 /InnoDB: Moving the data from extents 4096 through 8960/ in mysqld.1.err
49 FOUND 1 /InnoDB: Defragmentation of system tablespace is successful/ in mysqld.1.err
50 select name, file_size<$fsize shrunk
51 from information_schema.innodb_sys_tablespaces where space=0;
52 name shrunk
53 innodb_system 1
54 # restart