Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb_zip/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb_zip/r/wl6501_error_1.result |
set global innodb_file_per_table = on; set innodb_strict_mode=off; "1. Error in assigning undo logs for truncate action." set global innodb_file_per_table = 1; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_assigning_undo_log"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_assigning_undo_log"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "2. Error while preparing for truncate." set global innodb_file_per_table = 1; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_preparing_for_truncate"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_preparing_for_truncate"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "3. Error while dropping/creating indexes" set global innodb_file_per_table = 1; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_drop_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_drop_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 1; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_create_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_create_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 1; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create temporary table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_temp_recreate_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_temp_recreate_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "4. Error while completing truncate of table involving FTS." set global innodb_file_per_table = 1; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compact key_block_size=16; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_fts_trunc"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_fts_trunc"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "5. Error while updating sys-tables." set global innodb_file_per_table = 1; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compact key_block_size=16; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t order by i; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_sys_table_update"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_sys_table_update"; select * from t order by i; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_format = Barracuda; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html set global innodb_file_per_table = 1; set global innodb_file_per_table = on; set innodb_strict_mode=off; "1. Error in assigning undo logs for truncate action." set global innodb_file_per_table = 0; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_assigning_undo_log"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_assigning_undo_log"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "2. Error while preparing for truncate." set global innodb_file_per_table = 0; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_preparing_for_truncate"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_preparing_for_truncate"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "3. Error while dropping/creating indexes" set global innodb_file_per_table = 0; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_drop_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_drop_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 0; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_create_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_create_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 0; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create temporary table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compact key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_temp_recreate_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_temp_recreate_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "4. Error while completing truncate of table involving FTS." set global innodb_file_per_table = 0; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compact key_block_size=16; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_fts_trunc"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_fts_trunc"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "5. Error while updating sys-tables." set global innodb_file_per_table = 0; set global innodb_file_format = 'Antelope'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compact key_block_size=16; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t order by i; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_sys_table_update"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_sys_table_update"; select * from t order by i; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_format = Barracuda; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html set global innodb_file_per_table = 1; set global innodb_file_per_table = on; set innodb_strict_mode=off; "1. Error in assigning undo logs for truncate action." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 4; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_assigning_undo_log"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_assigning_undo_log"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "2. Error while preparing for truncate." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 4; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_preparing_for_truncate"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_preparing_for_truncate"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "3. Error while dropping/creating indexes" set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 4; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_drop_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_drop_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 4; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_create_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_create_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create temporary table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 4; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_temp_recreate_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_temp_recreate_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "4. Error while completing truncate of table involving FTS." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compressed key_block_size=4; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_fts_trunc"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_fts_trunc"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "5. Error while updating sys-tables." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compressed key_block_size=4; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t order by i; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_sys_table_update"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_sys_table_update"; select * from t order by i; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_format = Barracuda; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html set global innodb_file_per_table = 1; set global innodb_file_per_table = on; set innodb_strict_mode=off; "1. Error in assigning undo logs for truncate action." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 8; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_assigning_undo_log"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_assigning_undo_log"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "2. Error while preparing for truncate." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 8; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_preparing_for_truncate"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_preparing_for_truncate"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "3. Error while dropping/creating indexes" set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 8; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_drop_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_drop_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 8; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_create_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_create_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create temporary table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 8; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_temp_recreate_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_temp_recreate_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "4. Error while completing truncate of table involving FTS." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compressed key_block_size=8; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_fts_trunc"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_fts_trunc"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "5. Error while updating sys-tables." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compressed key_block_size=8; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t order by i; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_sys_table_update"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_sys_table_update"; select * from t order by i; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_format = Barracuda; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html set global innodb_file_per_table = 1; set global innodb_file_per_table = on; set innodb_strict_mode=off; "1. Error in assigning undo logs for truncate action." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_assigning_undo_log"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_assigning_undo_log"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "2. Error while preparing for truncate." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_preparing_for_truncate"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_preparing_for_truncate"; select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c drop table t; "3. Error while dropping/creating indexes" set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_drop_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_drop_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_create_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_create_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create temporary table t ( i int, f float, c char, primary key pk(i), unique findex(f), index ck(c)) engine = innodb row_format = compressed key_block_size = 16; insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c'); select * from t; i f c 1 1.1 a 2 2.2 b 3 3.3 c set session debug = "+d,ib_err_trunc_temp_recreate_index"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_temp_recreate_index"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "4. Error while completing truncate of table involving FTS." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compressed key_block_size=16; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_fts_trunc"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_fts_trunc"; select * from t; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; "5. Error while updating sys-tables." set global innodb_file_per_table = 1; set global innodb_file_format = 'Barracuda'; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html create table t (i int, f float, c char(100), primary key pk(i), index fk(f), fulltext index ck(c)) engine=innodb row_format=compressed key_block_size=16; insert into t values (1, 1.1, 'mysql is now oracle company'), (2, 2.2, 'innodb is part of mysql'), (3, 3.3, 'innodb is default storage engine of mysql'); select * from t order by i; i f c 1 1.1 mysql is now oracle company 2 2.2 innodb is part of mysql 3 3.3 innodb is default storage engine of mysql set session debug = "+d,ib_err_trunc_during_sys_table_update"; truncate table t; ERROR HY000: Got error 168 from storage engine set session debug = "-d,ib_err_trunc_during_sys_table_update"; select * from t order by i; ERROR HY000: Operation cannot be performed. The table 'test.t' is missing, corrupt or contains bad data. drop table t; set global innodb_file_format = Barracuda; Warnings: Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html set global innodb_file_per_table = 1;