mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-8469 Add RESET MASTER TO x to allow specification of binlog file nr
Other things: - Avoid calling init_and_set_log_file_name() when opening binary log. - Remove newlines early when reading from index file. - Ensure that reset_logs() will work even if thd is 0 (Can happen on startup) - Added thd to sart_slave_threads() for better error handling.
This commit is contained in:
@ -160,3 +160,12 @@ DROP TABLE t1;
|
||||
--replace_regex /xid=[0-9]+/xid=XX/ /GTID [0-9]+-[0-9]+-[0-9]+/GTID #-#-#/ /Server.ver.*/VER/
|
||||
SHOW BINLOG EVENTS;
|
||||
RESET MASTER;
|
||||
|
||||
# Test RESET MASTER TO
|
||||
|
||||
RESET MASTER;
|
||||
SHOW MASTER STATUS;
|
||||
RESET MASTER TO 100;
|
||||
SHOW MASTER STATUS;
|
||||
RESET MASTER;
|
||||
SHOW MASTER STATUS;
|
||||
|
Reference in New Issue
Block a user