mariadb/mysql-test/t/rpl_row_inexist_tbl.test

28 lines
645 B
Text
Raw Normal View History

# Test to see what slave says when master is updating a table it does
# not have
--source include/have_binlog_format_row.inc
source include/master-slave.inc;
connection master;
create table t1 (a int not null primary key);
sync_slave_with_master;
drop table t1;
connection master;
insert into t1 values (1);
insert into t1 values (2);
connection slave;
# slave should have stopped because can't find table
wait_for_slave_to_stop;
# see if we have a good error message:
--replace_result $MASTER_MYPORT MASTER_MYPORT
--replace_column 1 # 7 # 8 # 9 # 23 # 33 #
--vertical_results
show slave status;
# cleanup
connection master;
drop table t1;