| 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 |
[connection slave] |
| 7 |
CHANGE REPLICATION SOURCE TO SOURCE_HEARTBEAT_PERIOD=0; |
| 8 |
include/start_slave_io.inc |
| 9 |
[connection master] |
| 10 |
CREATE TABLE t (a LONGBLOB); |
| 11 |
include/save_binlog_position.inc |
| 12 |
include/sync_slave_io_with_master.inc |
| 13 |
include/stop_slave_io.inc |
| 14 |
BEGIN; |
| 15 |
INSERT INTO t VALUES ('Hi!'); |
| 16 |
[START] COMMIT; |
| 17 |
[START] COMMIT; |
| 18 |
[END] COMMIT; |
| 19 |
[END] COMMIT; |
| 20 |
include/assert.inc [The event we think is the second GTID, should actually be the second GTID] |
| 21 |
include/assert.inc [The second GTID event should have position > 4 GiB] |
| 22 |
[connection slave] |
| 23 |
include/rpl_receive_event_count.inc [stop after 2 Gtid events] |
| 24 |
[connection master] |
| 25 |
[connection slave] |
| 26 |
include/start_slave_io.inc |
| 27 |
[connection master] |
| 28 |
include/sync_slave_io_with_master.inc |
| 29 |
include/assert.inc [Exactly 1 heartbeat event occurred] |
| 30 |
[connection master] |
| 31 |
DROP TABLE t; |
| 32 |
include/rpl_end.inc |