diff --git a/bin/pt-stalk b/bin/pt-stalk index 9ae96bf3..86e0f0e6 100755 --- a/bin/pt-stalk +++ b/bin/pt-stalk @@ -1102,12 +1102,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"