You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
540 B

include/master-slave.inc
[connection master]
==== Setup table on master but not on slave ====
[on master]
CREATE TABLE t1 (a INT);
[on slave]
DROP TABLE t1;
==== Modify table on master ====
[on master]
INSERT INTO t1 VALUES (1);
==== Verify error on slave ====
[on slave]
call mtr.add_suppression("Slave SQL.*Error executing row event: .Table .test.t1. doesn.t exist., error.* 1146");
include/wait_for_slave_sql_error.inc [errno=1146]
==== Clean up ====
include/stop_slave_io.inc
RESET SLAVE;
[on master]
DROP TABLE t1;
include/rpl_end.inc