polardbxengine/mysql-test/suite/xengine_rpl_basic/t/rpl_drop.test

23 lines
635 B
Plaintext

# Testcase for BUG#4553. DROP on two tables, one of which does not
# exist, was binlogged with a zero error code which broke replication.
# Since WL#7743 the behavior is not to drop any tables in this case.
--source include/not_group_replication_plugin.inc
source include/master-slave.inc;
create table t1 (a int);
--error ER_BAD_TABLE_ERROR
drop table t1, t2;
--source include/sync_slave_sql_with_master.inc
# Clean-up.
connection master;
drop table t1;
--source include/sync_slave_sql_with_master.inc
# End of 4.1 tests
--source include/rpl_end.inc
--connection master
--source suite/xengine/include/check_xengine_log_error.inc