mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
ad126d90e0
This includes both code and test cases.
27 lines
645 B
Text
27 lines
645 B
Text
# 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;
|