| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
connection master; |
| 4 |
CREATE TABLE t1 (c1 INT); |
| 5 |
INSERT INTO t1 (c1) VALUES (1); |
| 6 |
connection slave; |
| 7 |
connection slave; |
| 8 |
include/stop_slave_sql.inc |
| 9 |
connection master; |
| 10 |
FLUSH LOGS; |
| 11 |
FLUSH LOGS; |
| 12 |
INSERT INTO t1 (c1) VALUES (2); |
| 13 |
include/sync_slave_io_with_master.inc |
| 14 |
call mtr.add_suppression("File '.*slave-relay-bin."); |
| 15 |
call mtr.add_suppression("Could not open log file"); |
| 16 |
call mtr.add_suppression("Failed to open the relay log"); |
| 17 |
call mtr.add_suppression("Failed to initialize the master info structure"); |
| 18 |
include/rpl_stop_server.inc [server_number=2] |
| 19 |
# Removing file(s) |
| 20 |
include/rpl_start_server.inc [server_number=2] |
| 21 |
START SLAVE; |
| 22 |
ERROR HY000: Could not initialize master info structure for ''; more error messages can be found in the MariaDB error log |
| 23 |
START SLAVE; |
| 24 |
ERROR HY000: Could not initialize master info structure for ''; more error messages can be found in the MariaDB error log |
| 25 |
include/reset_slave.inc |
| 26 |
DROP TABLE t1; |
| 27 |
START SLAVE UNTIL MASTER_LOG_FILE= 'MASTER_LOG_FILE', MASTER_LOG_POS= MASTER_LOG_POS;; |
| 28 |
include/wait_for_slave_sql_to_stop.inc |
| 29 |
include/stop_slave_io.inc |
| 30 |
include/start_slave.inc |
| 31 |
connection master; |
| 32 |
connection slave; |
| 33 |
include/diff_tables.inc [master:t1, slave:t1] |
| 34 |
connection master; |
| 35 |
DROP TABLE t1; |
| 36 |
connection slave; |
| 37 |
include/rpl_end.inc |