# MDEV-11675 # Prove that "fast" ALTER options also combine with @@binlog_alter_two_phase. --source include/have_innodb.inc --source include/master-slave.inc --connection master set binlog_alter_two_phase=true; CREATE OR REPLACE TABLE tab ( a int PRIMARY KEY, b varchar(50), c varchar(50) ) CHARACTER SET=latin1 engine=innodb; SET SESSION alter_algorithm='INSTANT'; ALTER TABLE tab MODIFY COLUMN b varchar(100); SET SESSION alter_algorithm='NOCOPY'; ALTER TABLE tab MODIFY COLUMN c varchar(100); SHOW CREATE TABLE tab; --source include/show_binlog_events.inc --sync_slave_with_master SHOW CREATE TABLE tab; --source include/show_binlog_events.inc --connection master DROP TABLE tab; --sync_slave_with_master --source include/rpl_end.inc