summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_mgm_err.test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-02-22 08:55:19 +0100
committerunknown <msvensson@neptunus.(none)>2006-02-22 08:55:19 +0100
commit0f545fc7f05963b0fcad70ba86b08efb43ace304 (patch)
tree55fe9a7f8595bd1a7514e29ab22686e3ad7526c6 /mysql-test/t/partition_mgm_err.test
parent2e2ec866a6999f61dea5999496b302d05e00d225 (diff)
parent1692707cdc6e39a9ec2541ed7454d179c5ac71f2 (diff)
downloadmariadb-git-0f545fc7f05963b0fcad70ba86b08efb43ace304.tar.gz
Merge bk-internal:/home/bk/mysql-5.1-new
into neptunus.(none):/home/msvensson/mysql/mysql-5.1 mysql-test/t/partition_mgm_err.test: Auto merged
Diffstat (limited to 'mysql-test/t/partition_mgm_err.test')
-rw-r--r--mysql-test/t/partition_mgm_err.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/partition_mgm_err.test b/mysql-test/t/partition_mgm_err.test
index e78aab7a64c..47fc8cb84e5 100644
--- a/mysql-test/t/partition_mgm_err.test
+++ b/mysql-test/t/partition_mgm_err.test
@@ -217,3 +217,13 @@ DROP TABLE t1;
#
CREATE TABLE t1 (a INT) PARTITION BY HASH(a);
ALTER TABLE t1 ADD PARTITION PARTITIONS 4;
+DROP TABLE t1;
+
+#
+#BUG 15408: Partitions: subpartition names are not unique
+#
+--error ER_SAME_NAME_PARTITION
+CREATE TABLE t1 (s1 int, s2 int) PARTITION BY LIST (s1) (
+PARTITION p1 VALUES IN (0) (SUBPARTITION p1b),
+PARTITION p2 VALUES IN (2) (SUBPARTITION p1b)
+);