2006-02-15 17:11:24 +01:00
|
|
|
#
|
2006-04-12 15:13:16 +02:00
|
|
|
# Check if server has support for loading udf's
|
|
|
|
# i.e it will support dlopen
|
2006-02-15 17:11:24 +01:00
|
|
|
#
|
2006-12-15 00:09:56 +01:00
|
|
|
--require r/have_dynamic_loading.require
|
2006-04-12 15:13:16 +02:00
|
|
|
disable_query_log;
|
|
|
|
show variables like "have_dynamic_loading";
|
|
|
|
enable_query_log;
|
2006-04-27 16:32:40 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Check if the variable UDF_EXAMPLE_LIB is set
|
|
|
|
#
|
|
|
|
--require r/have_udf_example.require
|
|
|
|
disable_query_log;
|
|
|
|
eval select LENGTH("$UDF_EXAMPLE_LIB") > 0 as "have_udf_example_lib";
|
|
|
|
enable_query_log;
|