1
by brian
clean slate |
1 |
#
|
2 |
# Check if server has support for loading udf's |
|
3 |
# i.e it will support dlopen |
|
4 |
#
|
|
5 |
--require r/have_dynamic_loading.require |
|
6 |
disable_query_log; |
|
7 |
show variables like "have_dynamic_loading"; |
|
8 |
enable_query_log; |
|
9 |
||
10 |
#
|
|
11 |
# Check if the variable UDF_EXAMPLE_LIB is set |
|
12 |
#
|
|
13 |
--require r/have_udf_example.require |
|
14 |
disable_query_log; |
|
15 |
eval select LENGTH("$UDF_EXAMPLE_LIB") > 0 as "have_udf_example_lib"; |
|
16 |
enable_query_log; |