mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
6c2c8482bf
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
30 lines
813 B
Text
30 lines
813 B
Text
###################################
|
|
# Author: JBM
|
|
# Date: 2006-01-11
|
|
# Purpose: Second test case from
|
|
# rpl_EE_err.test split out
|
|
# from orginal to make the
|
|
# first work with both RBR and SBR
|
|
###################################
|
|
#REQUIREMENT: An INSERT with a faked duplicate entry error on
|
|
#master should be replicated to slave and force the slave to stop
|
|
#(since the slave can't cause a faked error to re-occur).
|
|
###################################
|
|
|
|
-- source include/master-slave.inc
|
|
|
|
connection master;
|
|
eval create table t1 (a int, unique(a)) engine=$engine_type;
|
|
set sql_log_bin=0;
|
|
insert into t1 values(2);
|
|
set sql_log_bin=1;
|
|
save_master_pos;
|
|
--error 1062
|
|
insert into t1 values(1),(2);
|
|
drop table t1;
|
|
save_master_pos;
|
|
connection slave;
|
|
wait_for_slave_to_stop;
|
|
|
|
# End of 4.1 tests
|
|
|