summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_innodb_max_16k.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_innodb_max_16k.inc')
-rw-r--r--mysql-test/include/have_innodb_max_16k.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/have_innodb_max_16k.inc b/mysql-test/include/have_innodb_max_16k.inc
new file mode 100644
index 00000000..f8346666
--- /dev/null
+++ b/mysql-test/include/have_innodb_max_16k.inc
@@ -0,0 +1,4 @@
+if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE LOWER(variable_name) = 'innodb_page_size' AND variable_value <= 16384`)
+{
+ --skip Test requires InnoDB with page size not greater than 16k.
+}