mariadb/mysql-test/suite/atomic/alter_table.result
Marko Mäkelä 71964c76fe MDEV-25910: Aim to make all InnoDB DDL durable
Before any committed DDL operation returns control to the caller,
we must ensure that it will have been durably committed before the
ddl_log state may be changed, no matter if
innodb_flush_log_at_trx_commit=0 is being used.

Operations that would involve deleting files were already safe,
because the durable write of the FILE_DELETE record that would precede
the file deletion would also have made the commit durable.

Furthermore, when we clean up ADD INDEX stubs that were left behind
by a previous ha_innobase::commit_inplace_alter_table(commit=false)
when MDL could not be acquired, we will use the same interface as
for dropping indexes. This safety measure should be dead code,
because ADD FULLTEXT INDEX is not supported online, and dropping indexes
only involves file deletion for FULLTEXT INDEX.
2021-06-16 09:03:02 +03:00

3135 lines
76 KiB
Text

create database test2;
RESET MASTER;
engine: myisam
query: ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='new'
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new"
crash point: ddl_log_alter_after_log
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='new'
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new"
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!"
query: ALTER TABLE t1 change column a c int COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 change column a c int COMMENT "new"
crash point: ddl_log_alter_after_log
t1.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1
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
"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!"
query: ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2
crash point: ddl_log_alter_after_create_frm
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t2.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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
"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
"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!"
query: ALTER TABLE t1 ADD COLUMN c INT, ALGORITHM=copy, COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_rename_triggers
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t2.MYD
t2.MYI
t2.frm
Table Create Table
t2 CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='new'
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename t2
crash point: ddl_log_alter_after_log
t2.MYD
t2.MYI
t2.frm
Table Create Table
t2 CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 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
"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
t2.MYD
t2.MYI
t2.frm
Table Create Table
t2 CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
t2.frm
Table Create Table
t2 CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 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
"No crash!"
crash point: ddl_log_alter_after_drop_original_table
"No crash!"
query: ALTER TABLE t1 change column a c int COMMENT "new", rename t2
crash point: ddl_log_alter_after_create_frm
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t2.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1
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_log
t2.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1
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
"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
t2.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1
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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1
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
"No crash!"
crash point: ddl_log_alter_after_drop_original_table
"No crash!"
query: ALTER TABLE t1 ENGINE=aria, COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
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 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 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 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 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 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 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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
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 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 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 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 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 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 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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
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 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 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 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 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 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 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 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 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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t2.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='new'
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new", rename test2.t2
crash point: ddl_log_alter_after_log
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 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
"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
t2.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t2.MYI
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=MyISAM DEFAULT CHARSET=latin1 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
"No crash!"
crash point: ddl_log_alter_after_drop_original_table
"No crash!"
query: ALTER TABLE t1 ADD key(b), COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
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=MyISAM DEFAULT CHARSET=latin1 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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 DROP INDEX a
crash point: ddl_log_alter_after_rename_to_backup
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 DROP INDEX a
crash point: ddl_log_alter_after_rename_to_backup_log
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 DROP INDEX a
crash point: ddl_log_alter_rename_frm
"No crash!"
crash point: ddl_log_alter_after_rename_to_original
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 DROP INDEX a
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.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 DROP INDEX a
crash point: ddl_log_alter_after_drop_original_table
t1.MYD
t1.MYI
t1.frm
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 DROP INDEX a
engine: innodb
query: ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.frm
t1.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
"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!"
query: ALTER TABLE t1 COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='new'
count(*)
2
master-bin.000002 # Query # # use `test`; ALTER TABLE t1 COMMENT "new"
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!"
query: ALTER TABLE t1 change column a c int COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`c` int(11) DEFAULT NULL COMMENT 'new',
`b` int(11) DEFAULT NULL,
KEY `a` (`c`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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
"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!"
query: ALTER TABLE t1 ADD COLUMN c INT, COMMENT "new", rename t2
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t2.frm
t2.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
"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
t2.frm
t2.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
t2.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
"No crash!"
crash point: ddl_log_alter_after_drop_original_table
"No crash!"
query: ALTER TABLE t1 disable keys
crash point: ddl_log_alter_after_create_frm
Warnings:
Note 1031 Storage engine InnoDB 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 InnoDB 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 InnoDB of the table `test`.`t1` doesn't have this option
"No crash!"
crash point: ddl_log_alter_after_copy
Warnings:
Note 1031 Storage engine InnoDB of the table `test`.`t1` doesn't have this option
"No crash!"
crash point: ddl_log_alter_after_log
Warnings:
Note 1031 Storage engine InnoDB 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 InnoDB 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 InnoDB of the table `test`.`t1` doesn't have this option
"No crash!"
crash point: ddl_log_alter_rename_frm
Warnings:
Note 1031 Storage engine InnoDB 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 InnoDB 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 InnoDB 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 InnoDB 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 InnoDB 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 InnoDB 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
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.frm
t1.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
t1.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
t1.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
t1.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
t1.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
t1.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_rename_triggers
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t2.frm
t2.ibd
Table Create Table
t2 CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 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
"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
t2.frm
t2.ibd
Table Create Table
t2 CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 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
t2.ibd
Table Create Table
t2 CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 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
"No crash!"
crash point: ddl_log_alter_after_drop_original_table
"No crash!"
query: ALTER TABLE t1 change column a c int COMMENT "new", rename t2
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t2.frm
t2.ibd
Table Create Table
t2 CREATE TABLE `t2` (
`c` int(11) DEFAULT NULL COMMENT 'new',
`b` int(11) DEFAULT NULL,
KEY `a` (`c`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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
"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
t2.frm
t2.ibd
Table Create Table
t2 CREATE TABLE `t2` (
`c` int(11) DEFAULT NULL COMMENT 'new',
`b` int(11) DEFAULT NULL,
KEY `a` (`c`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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
t2.ibd
Table Create Table
t2 CREATE TABLE `t2` (
`c` int(11) DEFAULT NULL COMMENT 'new',
`b` int(11) DEFAULT NULL,
KEY `a` (`c`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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
"No crash!"
crash point: ddl_log_alter_after_drop_original_table
"No crash!"
query: ALTER TABLE t1 ENGINE=aria, COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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 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 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 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 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 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 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
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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 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 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 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 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 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 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
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_prepare_inplace
"No crash!"
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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 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 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 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 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 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 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 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 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
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.frm
t1.ibd
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=InnoDB DEFAULT CHARSET=latin1 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
"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
t2.frm
t2.ibd
"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=InnoDB DEFAULT CHARSET=latin1 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
t2.ibd
"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=InnoDB DEFAULT CHARSET=latin1 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
"No crash!"
crash point: ddl_log_alter_after_drop_original_table
"No crash!"
query: ALTER TABLE t1 COMMENT "new", rename test2.t2
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 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
"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
t2.frm
t2.ibd
"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=InnoDB DEFAULT CHARSET=latin1 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
t2.ibd
"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=InnoDB DEFAULT CHARSET=latin1 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
"No crash!"
crash point: ddl_log_alter_after_drop_original_table
"No crash!"
query: ALTER TABLE t1 ADD key(b), COMMENT "new"
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`),
KEY `b` (`b`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 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
"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!"
query: ALTER TABLE t1 DROP INDEX a
crash point: ddl_log_alter_after_create_frm
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_create_table
"No crash!"
crash point: ddl_log_alter_after_prepare_inplace
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_copy
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
KEY `a` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
count(*)
2
crash point: ddl_log_alter_after_log
t1.frm
t1.ibd
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
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!"