Skip to content

Commit

Permalink
Added 'have_innodb_disallow_writes.inc'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirbhay Choubey committed Aug 11, 2014
1 parent f842099 commit e06e12f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions mysql-test/include/have_innodb_disallow_writes.inc
@@ -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'
}
2 changes: 1 addition & 1 deletion mysql-test/include/have_wsrep.inc
Expand Up @@ -3,6 +3,6 @@

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.
}

0 comments on commit e06e12f

Please sign in to comment.