diff options
Diffstat (limited to 'mysql-test/include/have_udf.inc')
-rw-r--r-- | mysql-test/include/have_udf.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/include/have_udf.inc b/mysql-test/include/have_udf.inc new file mode 100644 index 00000000..be7390f8 --- /dev/null +++ b/mysql-test/include/have_udf.inc @@ -0,0 +1,14 @@ +# +# Check if server has support for loading plugins +# +if (`SELECT @@have_dynamic_loading != 'YES'`) { + --skip UDF requires dynamic loading +} + +# +# Check if the variable UDF_EXAMPLE_LIB is set +# +if (!$UDF_EXAMPLE_SO) { + --skip Need udf example +} + |