Added 'have_innodb_disallow_writes.inc'.

This commit is contained in:
Nirbhay Choubey 2014-08-11 14:31:30 -04:00
parent f8420992c0
commit e06e12f5b8
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
--source include/have_innodb.inc
if (`SELECT COUNT(*) = 0 from INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME = 'INNODB_DISALLOW_WRITES'`) {
--skip Test requires 'innodb_disallow_writes'
}

View file

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