~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to mysql-test/extra/rpl_tests/rpl_EE_err.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
# Change Author: JBM
 
13
# Change Date: 2006-01-11
 
14
# Change: Split test per lars review
 
15
####################################
 
16
#"REQUIREMENT: A master DROP TABLE on a table with non-existing MYI
 
17
# file must be correctly replicated to the slave"
 
18
####################################
 
19
-- source include/master-slave.inc
 
20
 
 
21
eval create table t1 (a int) engine=$engine_type;
 
22
flush tables;
 
23
system rm $MYSQLTEST_VARDIR/master-data/test/t1.MYI ;
 
24
drop table if exists t1;
 
25
save_master_pos;
 
26
connection slave;
 
27
sync_with_master;
 
28
 
 
29
# End of 4.1 tests