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

@ -27,12 +27,12 @@
# @@secure_file_priv. That makes this more complex than you might
# expect.
if (`SELECT '$write_to_file' = ''`)
if (!$write_to_file)
{
--die You must set the mysqltest variable \$write_to_file before you source include/write_var_to_file.inc
}
if (`SELECT '$write_to_file' = 'GENERATE'`)
if ($write_to_file == 'GENERATE')
{
--let $_wvtf_suffix= `SELECT UUID()`
--let $write_to_file= $MYSQLTEST_VARDIR/tmp/_var_file_$_wvtf_suffix.inc