diff options
Diffstat (limited to 'mysql-test/include/have_simple_parser.inc')
-rw-r--r-- | mysql-test/include/have_simple_parser.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/include/have_simple_parser.inc b/mysql-test/include/have_simple_parser.inc new file mode 100644 index 00000000..0c20c43e --- /dev/null +++ b/mysql-test/include/have_simple_parser.inc @@ -0,0 +1,14 @@ +# +# Check if server has support for loading plugins +# +if (`SELECT @@have_dynamic_loading != 'YES'`) { + --skip simple parser requires dynamic loading +} + +# +# Check if the variable SIMPLE_PARSER is set +# +if (!$MYPLUGLIB_SO) { + --skip simple parser is not built (no mypluglib.so) +} + |