summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_example_plugin.inc
blob: 8e57c725eb56465122188a465a98ffee8fb35ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Check if server has support for loading udf's
# i.e it will support dlopen
#
--require r/have_dynamic_loading.require
disable_query_log;
show variables like 'have_dynamic_loading';
enable_query_log;

#
# Check if the variable EXAMPLE_PLUGIN is set
#
--require r/have_example_plugin.require
disable_query_log;
eval select LENGTH('$EXAMPLE_PLUGIN') > 0 as 'have_example_plugin';
enable_query_log;