1DROP TABLE IF EXISTS t1; 2SET SESSION expand_fast_index_creation=ON; 3CREATE TEMPORARY TABLE t1 (a INT, b INT, INDEX(a)); 4call mtr.add_suppression("does not exist in the InnoDB internal"); 5SET debug="+d,crash_innodb_add_index_after"; 6ALTER TABLE t1 ADD INDEX (b); 7ERROR HY000: Lost connection to MySQL server during query 8SELECT NAME, FLAG FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES; 9NAME FLAG 10SYS_DATAFILES 0 11SYS_FOREIGN 0 12SYS_FOREIGN_COLS 0 13SYS_TABLESPACES 0 14SYS_VIRTUAL 0 15SYS_ZIP_DICT 0 16SYS_ZIP_DICT_COLS 0 17mysql/engine_cost 33 18mysql/gtid_executed 33 19mysql/help_category 33 20mysql/help_keyword 33 21mysql/help_relation 33 22mysql/help_topic 33 23mysql/innodb_index_stats 33 24mysql/innodb_table_stats 33 25mysql/plugin 33 26mysql/server_cost 33 27mysql/servers 33 28mysql/slave_master_info 33 29mysql/slave_relay_log_info 33 30mysql/slave_worker_info 33 31mysql/time_zone 33 32mysql/time_zone_leap_second 33 33mysql/time_zone_name 33 34mysql/time_zone_transition 33 35mysql/time_zone_transition_type 33 36sys/sys_config 33 37