summaryrefslogtreecommitdiff
path: root/mysql-test/include/show_slave_status.inc
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2010-12-17 11:30:59 +0100
committerBjorn Munch <bjorn.munch@oracle.com>2010-12-17 11:30:59 +0100
commitc406c797976ff856a9729d2f7d05ae0f2547fedc (patch)
treea4c05e606d3189a4dc00a56a059e9ef0c4e25390 /mysql-test/include/show_slave_status.inc
parentbdedbcd87eb45dfaf438faa2b3a35ae684f96025 (diff)
downloadmariadb-git-c406c797976ff856a9729d2f7d05ae0f2547fedc.tar.gz
some more if stmt simplifications
Diffstat (limited to 'mysql-test/include/show_slave_status.inc')
-rw-r--r--mysql-test/include/show_slave_status.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/include/show_slave_status.inc b/mysql-test/include/show_slave_status.inc
index d66c068e19b..5cc04993487 100644
--- a/mysql-test/include/show_slave_status.inc
+++ b/mysql-test/include/show_slave_status.inc
@@ -10,7 +10,7 @@ if (`SELECT "XX$status_items" = "XX"`)
--disable_query_log
--vertical_results
-while (`SELECT "XX$_items" <> "XX"`)
+while ($_items)
{
--let $_name= `SELECT SUBSTRING_INDEX('$_items', ',', 1)`
--let $_items= `SELECT LTRIM(SUBSTRING('$_items', LENGTH('$_name') + 2))`