mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
611f91605a
- created binlog_encryption test suite and added it to the default list - moved some tests from rpl, binlog and multisource suites to extra so that they could be re-used in different suites - made minor changes in include files
38 lines
696 B
Text
38 lines
696 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
**** On Master ****
|
|
CREATE TABLE t1 (a INT);
|
|
INSERT INTO t1 VALUES (1),(2),(3);
|
|
SELECT * FROM t1;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
SET GLOBAL debug_dbug= '+d,incident_database_resync_on_replace,*';
|
|
REPLACE INTO t1 VALUES (4);
|
|
SELECT * FROM t1;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
4
|
|
call mtr.add_suppression("Slave SQL.*The incident LOST_EVENTS occurred on the master.* 1590");
|
|
include/wait_for_slave_sql_error.inc [errno=1590]
|
|
Last_SQL_Error = 'The incident LOST_EVENTS occurred on the master. Message: <none>'
|
|
**** On Slave ****
|
|
SELECT * FROM t1;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
|
|
START SLAVE;
|
|
SELECT * FROM t1;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
4
|
|
include/check_slave_is_running.inc
|
|
DROP TABLE t1;
|
|
include/rpl_end.inc
|