diff --git a/lib/bash/collect.sh b/lib/bash/collect.sh index c17c9ad3..8747ce8b 100644 --- a/lib/bash/collect.sh +++ b/lib/bash/collect.sh @@ -408,12 +408,14 @@ slave_status() { echo -e "\n$status\n" >> $outfile $CMD_MYSQL $EXT_ARGV -e "$status" >> $outfile - local status="SELECT * + local status=" + SELECT * FROM replication_connection_status\G" echo -e "\n$status\n" >> $outfile $CMD_MYSQL $EXT_ARGV -e "$status" >> $outfile - local status="SELECT * + local status=" + SELECT * FROM replication_applier_status JOIN replication_applier_status_by_coordinator USING (channel_name)\G"