summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_partition.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_partition.inc')
-rw-r--r--mysql-test/include/have_partition.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/have_partition.inc b/mysql-test/include/have_partition.inc
new file mode 100644
index 00000000..50dc98ac
--- /dev/null
+++ b/mysql-test/include/have_partition.inc
@@ -0,0 +1,4 @@
+if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'partition' AND PLUGIN_STATUS='ACTIVE'`)
+{
+ --skip Test requires partitioning
+}