Debian Codegraph @

mysql-test/suite/rpl/r/rpl_unknown_ignorable_event.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 CREATE TABLE t1 (c1 INT) ENGINE=InnoDB;
7 include/sync_slave_sql_with_master.inc
8 # Set a debug point on slave to simulate unknown ignorable log events.
9 SET @save_debug=@@global.debug;
10 SET GLOBAL DEBUG='+d,simulate_unknown_ignorable_log_event';
11 [connection master]
12 # Write a previous_gtids log event to binlog
13 # on master if gtid mode is on.
14 FLUSH LOGS;
15 # Write a write_rows log event to binlog on master.
16 INSERT INTO t1 VALUES (1);
17 # The slave receiver thread simulates an unknown ignorable
18 # log event by rewriting the write_rows log event and
19 # previous_gtids log event if gtid mode is on before
20 # writing it(them) in relay log.
21 include/sync_slave_sql_with_master.inc
22 # Verify that the slave applier thread skips these unknown ignorable
23 # log event.
24 include/assert.inc [Table t1 must not contain 1]
25 SET GLOBAL DEBUG= @save_debug;
26 [connection master]
27 DROP TABLE t1;
28 include/rpl_end.inc