summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_sequence.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_sequence.inc')
-rw-r--r--mysql-test/include/have_sequence.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/have_sequence.inc b/mysql-test/include/have_sequence.inc
new file mode 100644
index 00000000000..b509d605177
--- /dev/null
+++ b/mysql-test/include/have_sequence.inc
@@ -0,0 +1,4 @@
+if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'sequence' AND support IN ('YES', 'DEFAULT', 'ENABLED')`)
+{
+ --skip Test requires Sequence engine
+}