summaryrefslogtreecommitdiff
path: root/mysql-test/t/system_mysql_db_fix50117.test
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2010-11-17 11:16:13 +0100
committerBjorn Munch <bjorn.munch@oracle.com>2010-11-17 11:16:13 +0100
commitef4458af0741dd18a407eff47ede481c816e8f07 (patch)
tree4232e7417004f49b782c05a7406b4cc2f1ed845a /mysql-test/t/system_mysql_db_fix50117.test
parent49ce7daa947bb156daf92cd101495cfe33993afa (diff)
downloadmariadb-git-ef4458af0741dd18a407eff47ede481c816e8f07.tar.gz
Tests: many if/while expresissons simplified after 57276
Diffstat (limited to 'mysql-test/t/system_mysql_db_fix50117.test')
-rw-r--r--mysql-test/t/system_mysql_db_fix50117.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/system_mysql_db_fix50117.test b/mysql-test/t/system_mysql_db_fix50117.test
index 872829ae79d..b4bac6a65da 100644
--- a/mysql-test/t/system_mysql_db_fix50117.test
+++ b/mysql-test/t/system_mysql_db_fix50117.test
@@ -3,7 +3,7 @@
# Don't run this test if $MYSQL_FIX_PRIVILEGE_TABLES isn't set
# to the location of mysql_fix_privilege_tables.sql
-if (`SELECT LENGTH("$MYSQL_FIX_PRIVILEGE_TABLES") <= 0`)
+if (!$MYSQL_FIX_PRIVILEGE_TABLES)
{
skip Test needs MYSQL_FIX_PRIVILEGE_TABLES;
}