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

#
# Check if the variable SEMISYNC_MASTER_SO is set
#
if (`select LENGTH('$SEMISYNC_MASTER_SO') = 0`)
{
  skip Need semisync plugins;
}