summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_simple_parser.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_simple_parser.inc')
-rw-r--r--mysql-test/include/have_simple_parser.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/include/have_simple_parser.inc b/mysql-test/include/have_simple_parser.inc
index 100c8fc7a5a..0c20c43eb3e 100644
--- a/mysql-test/include/have_simple_parser.inc
+++ b/mysql-test/include/have_simple_parser.inc
@@ -6,8 +6,9 @@ if (`SELECT @@have_dynamic_loading != 'YES'`) {
}
#
-# Check if the variable MYPLUGLIB_SO is set
+# Check if the variable SIMPLE_PARSER is set
#
-if (`SELECT LENGTH('$MYPLUGLIB_SO') = 0`) {
+if (!$MYPLUGLIB_SO) {
--skip simple parser is not built (no mypluglib.so)
}
+