1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-13 01:01:44 +03:00
mariadb/mysql-test/t/rpl_row_inexist_tbl.test
lars@mysql.com ad126d90e0 WL#1012: All changes as one single changeset.
This includes both code and test cases.
2005-12-22 06:39:02 +01:00

28 lines
645 B
Plaintext

# 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;