mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix rpl.rpl_rotate_logs to work with --repeat
(It's not using include/rpl_init.inc, so it needs to reset the GTID position explicitly). Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
connect master,localhost,root,,test,$MASTER_MYPORT,$MASTER_MYSOCK;
|
||||
connect slave,localhost,root,,test,$SLAVE_MYPORT,$SLAVE_MYSOCK;
|
||||
SET GLOBAL gtid_slave_pos= "";
|
||||
connection slave;
|
||||
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.");
|
||||
start slave;
|
||||
|
Reference in New Issue
Block a user