summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sql_sequence/partition.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/sql_sequence/partition.test')
-rw-r--r--mysql-test/suite/sql_sequence/partition.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/suite/sql_sequence/partition.test b/mysql-test/suite/sql_sequence/partition.test
new file mode 100644
index 00000000..d820b469
--- /dev/null
+++ b/mysql-test/suite/sql_sequence/partition.test
@@ -0,0 +1,11 @@
+--source include/have_partition.inc
+--source include/have_sequence.inc
+
+--echo #
+--echo # MDEV-13715 ha_partition::engine_name() segfault fix
+--echo #
+
+create sequence s;
+--error ER_ILLEGAL_HA_CREATE_OPTION
+alter table s partition by hash(start_value) partitions 2;
+drop sequence s;