summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_example_plugin.inc
blob: 21e3c33865ee5f1ff5536eb0621ba8d70a327a82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# Check if server has support for loading plugins
#
if (`SELECT @@have_dynamic_loading != 'YES'`) {
  --skip Example plugin requires dynamic loading
}

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