mirror of
https://github.com/MariaDB/server.git
synced 2025-10-25 08:58:14 +02:00
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>
19 lines
494 B
Text
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
|