1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-11 13:21:44 +03:00
mariadb/mysql-test/suite/rpl/t/rpl_start_alter_optimize.test
Andrei fe2d90cca9 MDEV-11675. Convert the new session var to bool type and test changes
The new @@binlog_alter_two_phase is converted to `my_bool` type.
2022-01-31 22:57:39 +02:00

26 lines
559 B
Plaintext

# MDEV-11675 two phase logged ALTER
#
# The tests verifies execution of non-ALTER queries that are handled
# through mysql_alter_table function.
--source include/have_log_bin.inc
--source include/have_innodb.inc
--source include/master-slave.inc
--connection master
set binlog_alter_two_phase = ON;
--connection master
CREATE TABLE t1 (i int) engine=innodb;
CREATE TABLE t2 (i int) engine=innodb;
ALTER TABLE t1 DROP CONSTRAINT IF EXISTS y;
OPTIMIZE TABLE t2;
--sync_slave_with_master
--connection master
drop table t1,t2;
--source include/rpl_end.inc