2005-12-22 06:39:02 +01:00
|
|
|
# The test is not relevant when testing replication of error codes for
|
|
|
|
# statements that are not replicated. The test below could be changed
|
|
|
|
# to rely on the replication of error codes for statements that are not
|
|
|
|
# replicated row-based.
|
2006-01-11 20:02:11 +01:00
|
|
|
#
|
2003-12-16 11:10:50 +01:00
|
|
|
# See if an EE_ error in one event of the master's binlog stops replication
|
|
|
|
# (it should not: in this configuration the EE_ error is probably not
|
|
|
|
# critical). Example: you do a DROP TABLE on a table which has no MYI file
|
|
|
|
# check if START SLAVE, RESET SLAVE, CHANGE MASTER reset Last_slave_error and
|
|
|
|
# Last_slave_errno in SHOW SLAVE STATUS (1st and 3rd commands did not: bug 986).
|
2006-01-11 20:02:11 +01:00
|
|
|
####################################
|
|
|
|
# Change Author: JBM
|
|
|
|
# Change Date: 2006-01-11
|
|
|
|
# Change: Split test per lars review
|
|
|
|
####################################
|
|
|
|
#"REQUIREMENT: A master DROP TABLE on a table with non-existing MYI
|
|
|
|
# file must be correctly replicated to the slave"
|
|
|
|
####################################
|
2005-12-22 06:39:02 +01:00
|
|
|
-- source include/master-slave.inc
|
2003-12-16 11:10:50 +01:00
|
|
|
|
2005-12-22 06:39:02 +01:00
|
|
|
eval create table t1 (a int) engine=$engine_type;
|
2003-12-16 11:10:50 +01:00
|
|
|
flush tables;
|
2006-01-24 14:10:48 +01:00
|
|
|
system rm $MYSQLTEST_VARDIR/master-data/test/t1.MYI ;
|
2005-02-21 20:41:48 +02:00
|
|
|
drop table if exists t1;
|
2003-12-16 11:10:50 +01:00
|
|
|
save_master_pos;
|
|
|
|
connection slave;
|
|
|
|
sync_with_master;
|
|
|
|
|
2005-07-28 03:22:47 +03:00
|
|
|
# End of 4.1 tests
|