| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
CREATE TABLE t1(a int); |
| 4 |
INSERT INTO t1 VALUES(1); |
| 5 |
connection slave; |
| 6 |
SET @saved_dbug = @@GLOBAL.debug_dbug; |
| 7 |
SET @@global.debug_dbug= 'd,simulate_error_on_packet_write'; |
| 8 |
START SLAVE; |
| 9 |
SET DEBUG_SYNC= 'now WAIT_FOR parked'; |
| 10 |
SET @@GLOBAL.debug_dbug = @saved_dbug; |
| 11 |
SET DEBUG_SYNC= 'now SIGNAL continue'; |
| 12 |
SET DEBUG_SYNC= 'RESET'; |
| 13 |
include/wait_for_slave_io_to_start.inc |
| 14 |
include/wait_for_slave_sql_to_start.inc |
| 15 |
connection master; |
| 16 |
include/sync_slave_sql_with_master.inc |
| 17 |
SELECT * FROM t1; |
| 18 |
a |
| 19 |
1 |
| 20 |
connection master; |
| 21 |
DROP TABLE t1; |
| 22 |
include/rpl_end.inc |