mariadb/mysql-test/suite/rpl/r/rpl_start_alter_optimize.result
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

18 lines
542 B
Text

include/master-slave.inc
[connection master]
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;
Warnings:
Note 1091 Can't DROP CONSTRAINT `y`; check that it exists
OPTIMIZE TABLE t2;
Table Op Msg_type Msg_text
test.t2 optimize note Table does not support optimize, doing recreate + analyze instead
test.t2 optimize status OK
connection slave;
connection master;
drop table t1,t2;
include/rpl_end.inc