| 1 |
# The test is not relevant when testing replication of error codes for |
| 2 |
# statements that are not replicated. The test below could be changed |
| 3 |
# to rely on the replication of error codes for statements that are not |
| 4 |
# replicated row-based. |
| 5 |
# |
| 6 |
# See if an EE_ error in one event of the master's binlog stops replication |
| 7 |
# (it should not: in this configuration the EE_ error is probably not |
| 8 |
# critical). Example: you do a DROP TABLE on a table which has no MYI file |
| 9 |
# check if START SLAVE, RESET SLAVE, CHANGE MASTER reset Last_slave_error and |
| 10 |
# Last_slave_errno in SHOW SLAVE STATUS (1st and 3rd commands did not: bug 986). |
| 11 |
#################################### |
| 12 |
#"REQUIREMENT: A master DROP TABLE on a table with non-existing MYI |
| 13 |
# file must be correctly replicated to the slave" |
| 14 |
#################################### |
| 15 |
-- source include/master-slave.inc |
| 16 |
|
| 17 |
eval create table t1 (a int) engine=$engine_type; |
| 18 |
flush tables t1; |
| 19 |
let $MYSQLD_DATADIR= `select @@datadir`; |
| 20 |
remove_file $MYSQLD_DATADIR/test/t1.MYI ; |
| 21 |
drop table if exists t1; |
| 22 |
|
| 23 |
--source include/rpl_end.inc |