summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_udf.inc
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/include/have_udf.inc
parent49ce7daa947bb156daf92cd101495cfe33993afa (diff)
downloadmariadb-git-ef4458af0741dd18a407eff47ede481c816e8f07.tar.gz
Tests: many if/while expresissons simplified after 57276
Diffstat (limited to 'mysql-test/include/have_udf.inc')
-rw-r--r--mysql-test/include/have_udf.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/include/have_udf.inc b/mysql-test/include/have_udf.inc
index d9ca1450043..5c404b03729 100644
--- a/mysql-test/include/have_udf.inc
+++ b/mysql-test/include/have_udf.inc
@@ -8,7 +8,7 @@ if (`SELECT @@have_dynamic_loading != 'YES'`) {
#
# Check if the variable UDF_EXAMPLE_LIB is set
#
-if (`SELECT LENGTH('$UDF_EXAMPLE_LIB') = 0`) {
+if (!$UDF_EXAMPLE_LIB) {
--skip UDF requires the environment variable \$UDF_EXAMPLE_LIB to be set (normally done by mtr)
}