summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_example_plugin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_example_plugin.inc')
-rw-r--r--mysql-test/include/have_example_plugin.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/include/have_example_plugin.inc b/mysql-test/include/have_example_plugin.inc
index bb84313eb4d..5571c345850 100644
--- a/mysql-test/include/have_example_plugin.inc
+++ b/mysql-test/include/have_example_plugin.inc
@@ -6,8 +6,9 @@ if (`SELECT @@have_dynamic_loading != 'YES'`) {
}
#
-# Check if the variable HA_EXAMPLE_SO is set
+# Check if the variable EXAMPLE_PLUGIN is set
#
-if (`SELECT LENGTH('$HA_EXAMPLE_SO') = 0`) {
+if (!$HA_EXAMPLE_SO) {
--skip Need example plugin
}
+