From c406c797976ff856a9729d2f7d05ae0f2547fedc Mon Sep 17 00:00:00 2001 From: Bjorn Munch Date: Fri, 17 Dec 2010 11:30:59 +0100 Subject: some more if stmt simplifications --- mysql-test/include/show_slave_status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysql-test/include/show_slave_status.inc') 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))` -- cgit v1.2.1