diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-12-20 15:15:01 +0100 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-12-20 15:15:01 +0100 |
commit | 004ae40bc051d4345e3267456af09cce3dd5d6f8 (patch) | |
tree | 115fdfba52045ba9a47ec7b397fb5ee4a7b5db4b /mysql-test/include/diff_tables.inc | |
parent | dd4c094652ef907af66704a4b02ed26ae1a79986 (diff) | |
parent | f38e7844a28dcf8a2cc4995b45c68c2fd8544f72 (diff) | |
download | mariadb-git-004ae40bc051d4345e3267456af09cce3dd5d6f8.tar.gz |
Some if simplifications in tests
Diffstat (limited to 'mysql-test/include/diff_tables.inc')
-rw-r--r-- | mysql-test/include/diff_tables.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/include/diff_tables.inc b/mysql-test/include/diff_tables.inc index 94921b02f13..5f88d8d3073 100644 --- a/mysql-test/include/diff_tables.inc +++ b/mysql-test/include/diff_tables.inc @@ -81,7 +81,7 @@ if (`SELECT LOCATE(',', '$diff_tables') = 0`) # Iterate over all tables --let $_dt_outfile= --let $_dt_prev_outfile= -while (`SELECT '$_dt_tables' != ''`) +while ($_dt_tables) { --let $_dt_table= `SELECT SUBSTRING_INDEX('$_dt_tables', ',', 1)` --let $_dt_tables= `SELECT SUBSTRING('$_dt_tables', LENGTH('$_dt_table') + 2)` |