1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-26307 multi-source-replication support mysql syntax(for channel)

Author:   woqutech
Reviewer: monty@mariadb.org
This commit is contained in:
Monty
2021-08-24 00:45:39 +03:00
parent 4ebaa80f0b
commit 267a07e846
7 changed files with 848 additions and 18 deletions

View File

@@ -1,6 +1,12 @@
# This script ensures that a slave has executed everything in the relay log
# files. This can be used to ensure slave is in a predicate place after
# a FLUSH RELAY LOGS command.
# Note that this script does not guarantee that the slave has read everything
# from the master(s). If this is needed on should use the sync_with_master
# command or the sync_with_master script.
--let $show_statement = show all slaves status
--let $field = Slave_SQL_State
--let $condition = = 'Slave has read all relay log; waiting for more updates'
--let $wait_for_all = 1
--source include/wait_show_condition.inc