| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
connection slave; |
| 4 |
include/stop_slave.inc |
| 5 |
SET @saved_dbug = @@GLOBAL.debug_dbug; |
| 6 |
SET GLOBAL log_warnings = 2; |
| 7 |
SET GLOBAL debug_dbug="d,inject_long_find_row_note"; |
| 8 |
include/start_slave.inc |
| 9 |
connection master; |
| 10 |
CREATE TABLE t1 (c1 INT); |
| 11 |
connection slave; |
| 12 |
connection master; |
| 13 |
INSERT INTO t1 VALUES (1), (2); |
| 14 |
UPDATE t1 SET c1= 1000 WHERE c1=2; |
| 15 |
DELETE FROM t1; |
| 16 |
DROP TABLE t1; |
| 17 |
connection slave; |
| 18 |
# Check if any note related to long DELETE_ROWS and UPDATE_ROWS appears in the error log |
| 19 |
FOUND 1 /The slave is applying a ROW event on behalf of an UPDATE statement on table t1 and is currently taking a considerable amount/ in mysqld.2.err |
| 20 |
FOUND 1 /The slave is applying a ROW event on behalf of a DELETE statement on table t1 and is currently taking a considerable amount/ in mysqld.2.err |
| 21 |
include/stop_slave.inc |
| 22 |
SET @@GLOBAL.debug_dbug = @saved_dbug; |
| 23 |
include/start_slave.inc |
| 24 |
include/rpl_end.inc |