summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_innodb_4k.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_innodb_4k.inc')
-rw-r--r--mysql-test/include/have_innodb_4k.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/have_innodb_4k.inc b/mysql-test/include/have_innodb_4k.inc
new file mode 100644
index 00000000..f51b8bf6
--- /dev/null
+++ b/mysql-test/include/have_innodb_4k.inc
@@ -0,0 +1,6 @@
+--disable_warnings
+if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE LOWER(variable_name) = 'innodb_page_size' AND variable_value = 4096`)
+{
+ --skip Test requires InnoDB with 4k Page size.
+}
+--enable_warnings