mariadb/mysql-test/suite/rpl/r/rpl_repair.result
Kristian Nielsen c8ee774d90 MDEV-33184: Replicated REPAIR TABLE writes an error in the log when normal REPAIR does not
Make REPAIR of a partition output the same type of message (error vs.
warning) in the error log during replication as it would do when run
directly.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2025-10-07 09:40:36 +02:00

19 lines
494 B
Text

include/master-slave.inc
[connection master]
create table t (a int, key(a)) partition by range (a) (
partition p0 values less than (10),
partition p1 values less than (100)
);
insert into t values (5),(50);
connection slave;
flush tables;
connection master;
repair table t;
Table Op Msg_type Msg_text
test.t repair status OK
connection slave;
SET STATEMENT sql_log_bin=0 FOR
CALL mtr.add_suppression('[[]Warning[]] Moved 1 misplaced rows');
connection master;
DROP TABLE t;
include/rpl_end.inc