summaryrefslogtreecommitdiff
path: root/mysql-test/t/features.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/features.test')
-rw-r--r--mysql-test/t/features.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/features.test b/mysql-test/t/features.test
index 225ab40b361..63e923a772b 100644
--- a/mysql-test/t/features.test
+++ b/mysql-test/t/features.test
@@ -130,3 +130,11 @@ insert into t1 values(2);
drop table t1;
show status like "feature_delay_key_write";
+
+#
+# Feature CHECK CONSTRAINT
+#
+create table t1 (a int check (a > 5));
+create table t2 (b int, constraint foo check (b < 10));
+drop table t1, t2;
+show status like "feature_check_constraint";