mirror of
https://github.com/MariaDB/server.git
synced 2025-11-25 17:25:02 +03:00
# Conflicts: # mysql-test/suite/galera/r/MW-388.result # mysql-test/suite/galera/t/MW-388.test # mysql-test/suite/innodb/r/truncate_inject.result # mysql-test/suite/innodb/t/truncate_inject.test # mysql-test/suite/rpl/r/rpl_stop_slave.result # mysql-test/suite/rpl/t/rpl_stop_slave.test # sql/sp_head.cc # sql/sp_head.h # sql/sql_lex.cc # sql/sql_yacc.yy # storage/xtradb/buf/buf0dblwr.cc
26 lines
954 B
Plaintext
26 lines
954 B
Plaintext
include/master-slave.inc
|
|
[connection master]
|
|
connection slave;
|
|
include/stop_slave.inc
|
|
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
|
SET GLOBAL log_warnings = 2;
|
|
SET GLOBAL debug_dbug="d,inject_long_find_row_note";
|
|
include/start_slave.inc
|
|
connection master;
|
|
CREATE TABLE t1 (c1 INT);
|
|
connection slave;
|
|
connection master;
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
UPDATE t1 SET c1= 1000 WHERE c1=2;
|
|
DELETE FROM t1;
|
|
DROP TABLE t1;
|
|
connection slave;
|
|
# Check if any note related to long DELETE_ROWS and UPDATE_ROWS appears in the error log
|
|
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
|
|
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
|
|
include/stop_slave.inc
|
|
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
|
SET GLOBAL log_warnings = 2;
|
|
include/start_slave.inc
|
|
include/rpl_end.inc
|