diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-12-17 11:30:59 +0100 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-12-17 11:30:59 +0100 |
commit | c406c797976ff856a9729d2f7d05ae0f2547fedc (patch) | |
tree | a4c05e606d3189a4dc00a56a059e9ef0c4e25390 /mysql-test/include/show_slave_status.inc | |
parent | bdedbcd87eb45dfaf438faa2b3a35ae684f96025 (diff) | |
download | mariadb-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.inc | 2 |
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))` |