Commit df2f01c1 authored by Kristian Nielsen's avatar Kristian Nielsen

Add cleanup of mysql.gtid_slave_pos table.

(Found during MDEV-12179 development, but independent of it, so put
into a separate commit).
parent 1b54cb3b
...@@ -46,5 +46,6 @@ SET GLOBAL slave_parallel_threads=@old_parallel_threads; ...@@ -46,5 +46,6 @@ SET GLOBAL slave_parallel_threads=@old_parallel_threads;
SET GLOBAL max_relay_log_size= @old_max_relay; SET GLOBAL max_relay_log_size= @old_max_relay;
include/start_slave.inc include/start_slave.inc
connection server_1; connection server_1;
ALTER TABLE mysql.gtid_slave_pos ENGINE=MyISAM;
DROP TABLE t1; DROP TABLE t1;
include/rpl_end.inc include/rpl_end.inc
...@@ -99,6 +99,7 @@ SET GLOBAL max_relay_log_size= @old_max_relay; ...@@ -99,6 +99,7 @@ SET GLOBAL max_relay_log_size= @old_max_relay;
--source include/start_slave.inc --source include/start_slave.inc
--connection server_1 --connection server_1
ALTER TABLE mysql.gtid_slave_pos ENGINE=MyISAM;
DROP TABLE t1; DROP TABLE t1;
--source include/rpl_end.inc --source include/rpl_end.inc
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment