From 292bc28f9c9e1dcbcf8882373d8c0799d5649f55 Mon Sep 17 00:00:00 2001 From: ParadoxV5 Date: Fri, 5 Sep 2025 20:50:08 -0600 Subject: [PATCH] Escape `$`s in `show_slave_status.inc` error msgs `--die` performs variable substitution like `--echo` does, so the variable names were parsed rather than mentioned verbatim. --- mysql-test/include/show_slave_status.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/include/show_slave_status.inc b/mysql-test/include/show_slave_status.inc index 429ed8a5abdee..caf4136471ef4 100644 --- a/mysql-test/include/show_slave_status.inc +++ b/mysql-test/include/show_slave_status.inc @@ -86,7 +86,7 @@ --let $_show_slave_status_items=$status_items if (!$status_items) { - --die Bug in test case: The mysqltest variable $status_items is not set. + --die Bug in test case: The mysqltest variable \$status_items is not set. } --let $_show_query=SHOW SLAVE STATUS @@ -95,7 +95,7 @@ if ($all_slaves_status) { if ($slave_name) { - --die Bug in test case: Both $all_slaves_status and $slave_name are set. + --die Bug in test case: Both \$all_slaves_status and \$slave_name are set. } --let $_show_query=SHOW ALL SLAVES STATUS }