mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
19 lines
556 B
Text
19 lines
556 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
==== Setup table on master but not on slave ====
|
|
CREATE TABLE t1 (a INT);
|
|
connection slave;
|
|
DROP TABLE t1;
|
|
==== Modify table on master ====
|
|
connection master;
|
|
INSERT INTO t1 VALUES (1);
|
|
==== Verify error on slave ====
|
|
connection 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;
|
|
connection master;
|
|
DROP TABLE t1;
|
|
include/rpl_end.inc
|