set global rocksdb_flush_log_at_trx_commit=1; create database test2; RESET MASTER; engine: rocksdb query: ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new" crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new" crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new" crash point: ddl_log_alter_before_rename_triggers "No crash!" crash point: ddl_log_alter_after_rename_triggers "No crash!" crash point: ddl_log_alter_after_delete_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new" crash point: ddl_log_alter_after_drop_original_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new" query: ALTER TABLE t1 COMMENT "new" crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new" crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new" crash point: ddl_log_alter_before_rename_triggers "No crash!" crash point: ddl_log_alter_after_rename_triggers "No crash!" crash point: ddl_log_alter_after_delete_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new" crash point: ddl_log_alter_after_drop_original_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new" query: ALTER TABLE t1 change column a c int COMMENT "new" crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new" crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new" crash point: ddl_log_alter_before_rename_triggers "No crash!" crash point: ddl_log_alter_after_rename_triggers "No crash!" crash point: ddl_log_alter_after_delete_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new" crash point: ddl_log_alter_after_drop_original_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new" query: ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_to_backup t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_to_backup_log t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 crash point: ddl_log_alter_before_rename_triggers t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_triggers t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 crash point: ddl_log_alter_after_delete_backup t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 crash point: ddl_log_alter_after_drop_original_table t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2 query: ALTER TABLE t1 disable keys crash point: ddl_log_alter_after_create_frm Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_create_table Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_prepare_inplace Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_copy Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_log Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_rename_to_backup Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_rename_to_backup_log Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_rename_frm Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_rename_to_original Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_before_rename_triggers Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_rename_triggers Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_delete_backup Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" crash point: ddl_log_alter_after_drop_original_table Warnings: Note 1031 Storage engine ROCKSDB of the table `test`.`t1` doesn't have this option "No crash!" query: ALTER TABLE t1 ADD COLUMN c INT, ALGORITHM=copy, COMMENT "new" crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, ALGORITHM=copy, COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, ALGORITHM=copy, COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, ALGORITHM=copy, COMMENT "new" crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, ALGORITHM=copy, COMMENT "new" crash point: ddl_log_alter_before_rename_triggers "No crash!" crash point: ddl_log_alter_after_rename_triggers "No crash!" crash point: ddl_log_alter_after_delete_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, ALGORITHM=copy, COMMENT "new" crash point: ddl_log_alter_after_drop_original_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, ALGORITHM=copy, COMMENT "new" query: ALTER TABLE t1 rename t2 crash point: ddl_log_alter_after_create_frm "No crash!" crash point: ddl_log_alter_after_create_table "No crash!" crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy "No crash!" crash point: ddl_log_alter_after_log "No crash!" crash point: ddl_log_alter_after_rename_to_backup "No crash!" crash point: ddl_log_alter_after_rename_to_backup_log "No crash!" crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original "No crash!" crash point: ddl_log_alter_before_rename_triggers t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_rename_triggers t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_delete_backup "No crash!" crash point: ddl_log_alter_after_drop_original_table "No crash!" query: ALTER TABLE t1 COMMENT "new", rename t2 crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_to_backup t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_to_backup_log t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2 crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2 crash point: ddl_log_alter_before_rename_triggers t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_triggers t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2 crash point: ddl_log_alter_after_delete_backup t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2 crash point: ddl_log_alter_after_drop_original_table t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2 query: ALTER TABLE t1 change column a c int COMMENT "new", rename t2 crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t2.frm Table Create Table t2 CREATE TABLE `t2` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_to_backup t2.frm Table Create Table t2 CREATE TABLE `t2` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_to_backup_log t2.frm Table Create Table t2 CREATE TABLE `t2` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", rename t2 crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t2.frm Table Create Table t2 CREATE TABLE `t2` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", rename t2 crash point: ddl_log_alter_before_rename_triggers t2.frm Table Create Table t2 CREATE TABLE `t2` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", rename t2 crash point: ddl_log_alter_after_rename_triggers t2.frm Table Create Table t2 CREATE TABLE `t2` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", rename t2 crash point: ddl_log_alter_after_delete_backup t2.frm Table Create Table t2 CREATE TABLE `t2` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", rename t2 crash point: ddl_log_alter_after_drop_original_table t2.frm Table Create Table t2 CREATE TABLE `t2` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", rename t2 query: ALTER TABLE t1 ENGINE=aria, COMMENT "new" crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ENGINE=aria, COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ENGINE=aria, COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup_log t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ENGINE=aria, COMMENT "new" crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ENGINE=aria, COMMENT "new" crash point: ddl_log_alter_before_rename_triggers "No crash!" crash point: ddl_log_alter_after_rename_triggers "No crash!" crash point: ddl_log_alter_after_delete_backup t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ENGINE=aria, COMMENT "new" crash point: ddl_log_alter_after_drop_original_table t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ENGINE=aria, COMMENT "new" query: ALTER TABLE t1 change column a c int COMMENT "new", engine=aria crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", engine=aria crash point: ddl_log_alter_after_rename_to_backup t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", engine=aria crash point: ddl_log_alter_after_rename_to_backup_log t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", engine=aria crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", engine=aria crash point: ddl_log_alter_before_rename_triggers "No crash!" crash point: ddl_log_alter_after_rename_triggers "No crash!" crash point: ddl_log_alter_after_delete_backup t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", engine=aria crash point: ddl_log_alter_after_drop_original_table t1.MAD t1.MAI t1.frm Table Create Table t1 CREATE TABLE `t1` ( `c` int(11) DEFAULT NULL COMMENT 'new', `b` int(11) DEFAULT NULL, KEY `a` (`c`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new", engine=aria query: ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t2.MAD t2.MAI t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria crash point: ddl_log_alter_after_rename_to_backup t2.MAD t2.MAI t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria crash point: ddl_log_alter_after_rename_to_backup_log t2.MAD t2.MAI t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t2.MAD t2.MAI t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria crash point: ddl_log_alter_before_rename_triggers t2.MAD t2.MAI t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria crash point: ddl_log_alter_after_rename_triggers t2.MAD t2.MAI t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria crash point: ddl_log_alter_after_delete_backup t2.MAD t2.MAI t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria crash point: ddl_log_alter_after_drop_original_table t2.MAD t2.MAI t2.frm Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=Aria DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PAGE_CHECKSUM=1 COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2, engine=aria query: ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_rename_to_backup t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_rename_to_backup_log t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 crash point: ddl_log_alter_before_rename_triggers t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_rename_triggers t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_delete_backup t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_drop_original_table t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename test2.t2 query: ALTER TABLE t1 COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_rename_to_backup t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_rename_to_backup_log t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2 crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2 crash point: ddl_log_alter_before_rename_triggers t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_rename_triggers t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_delete_backup t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2 crash point: ddl_log_alter_after_drop_original_table t2.frm "Table is in test2" Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2 query: ALTER TABLE t1 ADD key(b), COMMENT "new" crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_prepare_inplace "No crash!" crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`), KEY `b` (`b`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD key(b), COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`), KEY `b` (`b`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD key(b), COMMENT "new" crash point: ddl_log_alter_after_rename_to_backup_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`), KEY `b` (`b`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD key(b), COMMENT "new" crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`), KEY `b` (`b`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD key(b), COMMENT "new" crash point: ddl_log_alter_before_rename_triggers "No crash!" crash point: ddl_log_alter_after_rename_triggers "No crash!" crash point: ddl_log_alter_after_delete_backup t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`), KEY `b` (`b`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD key(b), COMMENT "new" crash point: ddl_log_alter_after_drop_original_table t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`), KEY `b` (`b`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='new' count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 ADD key(b), COMMENT "new" query: ALTER TABLE t1 DROP INDEX a crash point: ddl_log_alter_after_create_frm t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_create_table "No crash!" crash point: ddl_log_alter_after_prepare_inplace t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_copy t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, KEY `a` (`a`) ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 crash point: ddl_log_alter_after_log t1.frm Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci count(*) 2 master-bin.000002 # Query # # use `test`; ALTER TABLE t1 DROP INDEX a crash point: ddl_log_alter_after_rename_to_backup "No crash!" crash point: ddl_log_alter_after_rename_to_backup_log "No crash!" crash point: ddl_log_alter_rename_frm "No crash!" crash point: ddl_log_alter_after_rename_to_original "No crash!" crash point: ddl_log_alter_before_rename_triggers "No crash!" crash point: ddl_log_alter_after_rename_triggers "No crash!" crash point: ddl_log_alter_after_delete_backup "No crash!" crash point: ddl_log_alter_after_drop_original_table "No crash!"