summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2016-10-24 09:07:49 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2016-10-24 09:07:49 +0300
commitf35f61b5a97ed985663c95c0c9eada923a4027f3 (patch)
tree7d3393ac03800dd216d089e89368990c25a7fb7c /mysql-test/include
parent1de147fcefd22678f8f5724cc08e581a11ff04b4 (diff)
parentf05dfbebccf415ab5f9f9ee4253478636baf9b34 (diff)
downloadmariadb-git-f35f61b5a97ed985663c95c0c9eada923a4027f3.tar.gz
Merge branch '10.2-numa' of https://github.com/grooverdan/mariadb-server into grooverdan-10.2-numa
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/have_numa.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/include/have_numa.inc b/mysql-test/include/have_numa.inc
new file mode 100644
index 00000000000..18bca99e04d
--- /dev/null
+++ b/mysql-test/include/have_numa.inc
@@ -0,0 +1,9 @@
+let $numa_support = `SELECT COUNT(VARIABLE_VALUE) = 1 FROM
+ INFORMATION_SCHEMA.GLOBAL_VARIABLES
+ WHERE VARIABLE_NAME='innodb_numa_interleave'`;
+
+if ( $numa_support == 0 )
+{
+ --skip Test requires: Binary must be built with NUMA support.
+}
+