1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Some if simplifications in tests

This commit is contained in:
Bjorn Munch
2010-12-20 15:15:01 +01:00
16 changed files with 33 additions and 36 deletions

View File

@ -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)`