summaryrefslogtreecommitdiff
path: root/mysql-test/include/show_slave_status.inc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-08-24 00:45:39 +0300
committerMonty <monty@mariadb.org>2021-09-14 17:57:27 +0300
commit267a07e8464c77c9dbdee349b3d5eec5661cef73 (patch)
tree48f121a7def0d6b5fa951748e98fe2abe3f4242b /mysql-test/include/show_slave_status.inc
parent4ebaa80f0b26de814e8de27b8ea2188038b7d0f2 (diff)
downloadmariadb-git-267a07e8464c77c9dbdee349b3d5eec5661cef73.tar.gz
MDEV-26307 multi-source-replication support mysql syntax(for channel)
Author: woqutech Reviewer: monty@mariadb.org
Diffstat (limited to 'mysql-test/include/show_slave_status.inc')
-rw-r--r--mysql-test/include/show_slave_status.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/show_slave_status.inc b/mysql-test/include/show_slave_status.inc
index ba2e1b0c48a..429ed8a5abd 100644
--- a/mysql-test/include/show_slave_status.inc
+++ b/mysql-test/include/show_slave_status.inc
@@ -102,6 +102,10 @@ if ($all_slaves_status)
if ($slave_name)
{
--let $_show_query=SHOW SLAVE $slave_name STATUS
+ if ($for_channel)
+ {
+ --let $_show_query=SHOW SLAVE STATUS for channel $slave_name
+ }
}