summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_wsrep.inc
blob: 52220edf481fccf88e7e77f45b8da524d517bd08 (plain)
1
2
3
4
5
6
7
8
# To be used in a test which requires server to be compiled with wsrep support
# (-DWITH_WSREP=ON) and wsrep plugin is ACTIVE.

if (`SELECT COUNT(*)=0 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'wsrep' AND PLUGIN_STATUS='ACTIVE'`)
{
  --skip Test requires wsrep plugin.
}