mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
RBR test updates per lars request
mysql-test/extra/rpl_tests/rpl_EE_err.test: Splitting tests case per Lars review mysql-test/t/rpl_EE_err.test: Splitting tests case per Lars review mysql-test/r/rpl_EE_err.result: Splitting tests case per Lars review mysql-test/t/rpl_stm_EE_err2.test: New test case file from splitting out the test cases from the orginal rpl_EE_error.test per lars mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test: New test case file from splitting out the test cases from the orginal rpl_EE_error.test per lars mysql-test/r/rpl_stm_EE_err2.result: New test case file from splitting out the test cases from the orginal rpl_EE_error.test per lars BitKeeper/deleted/.del-rpl_row_EE_err.test~b3d8db3eacbb7af5: Delete: mysql-test/extra/rpl_tests/rpl_row_EE_err.test BitKeeper/deleted/.del-rpl_row_EE_err.test~6cd033708a4535db: Delete: mysql-test/t/rpl_row_EE_err.test BitKeeper/deleted/.del-rpl_row_EE_err.result~5ad217703f686c4d: Delete: mysql-test/r/rpl_row_EE_err.result
This commit is contained in:
29
mysql-test/extra/rpl_tests/rpl_EE_err.test
Normal file
29
mysql-test/extra/rpl_tests/rpl_EE_err.test
Normal file
@ -0,0 +1,29 @@
|
||||
# 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.
|
||||
#
|
||||
# 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).
|
||||
####################################
|
||||
# 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"
|
||||
####################################
|
||||
-- source include/master-slave.inc
|
||||
|
||||
eval create table t1 (a int) engine=$engine_type;
|
||||
flush tables;
|
||||
system rm ./var/master-data/test/t1.MYI ;
|
||||
drop table if exists t1;
|
||||
save_master_pos;
|
||||
connection slave;
|
||||
sync_with_master;
|
||||
|
||||
# End of 4.1 tests
|
Reference in New Issue
Block a user