summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_numa.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_numa.inc')
-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 00000000..18bca99e
--- /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.
+}
+