summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_simple_parser.inc
blob: 008116cd8cb85f610a4deeb76f0f896789d5bb24 (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 simple parser requires dynamic loading
}

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