summaryrefslogtreecommitdiff
path: root/mysql-test/r/partition_mgm_err.result
diff options
context:
space:
mode:
authorunknown <reggie@big_geek.>2006-02-16 10:38:33 -0600
committerunknown <reggie@big_geek.>2006-02-16 10:38:33 -0600
commitd047fe77b74b02550d3b72fbb9415d3e8a9f507a (patch)
treef8ff3f6e12d8493541cca525570bcfc85c2b13c0 /mysql-test/r/partition_mgm_err.result
parent99526f2efb29a7573ed1b4f820c9b2f4cc32753c (diff)
downloadmariadb-git-d047fe77b74b02550d3b72fbb9415d3e8a9f507a.tar.gz
BUG#15408: Partitions: subpartition names are not unique
Also, moved some of the code out of handler.h and into partition specific files for better separation. Also, moved some of the C funcs into partition_info as formal C++ methods mysql-test/r/partition_mgm_err.result: result block for test of bug # 15408 mysql-test/t/partition_mgm_err.test: test for duplicate subpartition names sql/Makefile.am: adding sql_partition.h, partition_info.cpp, partition_info.h, and partition_element.h to the makefile sql/ha_partition.cc: using the new members of partition_info sql/ha_partition.h: using the new members of partition_info sql/handler.h: moved this code into sql_partition.h sql/mysql_priv.h: including sql_partition.h also now sql/opt_range.cc: using the new members of partition_info sql/sql_partition.cc: moved some of the functions out and into the partition_info class using the new members of partition_info sql/sql_show.cc: using the new members of partition_info win/cmakefiles/sql: added partition_info.cpp to the sql cmake file sql/partition_element.h: New BitKeeper file ``sql/partition_element.h'' sql/partition_info.h: New BitKeeper file ``sql/partition_info.h'' sql/sql_partition.h: New BitKeeper file ``sql/sql_partition.h''
Diffstat (limited to 'mysql-test/r/partition_mgm_err.result')
-rw-r--r--mysql-test/r/partition_mgm_err.result5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/partition_mgm_err.result b/mysql-test/r/partition_mgm_err.result
index 58ee2d08947..efa346f7a72 100644
--- a/mysql-test/r/partition_mgm_err.result
+++ b/mysql-test/r/partition_mgm_err.result
@@ -142,3 +142,8 @@ t1 CREATE TABLE `t1` (
DROP TABLE t1;
CREATE TABLE t1 (a INT) PARTITION BY HASH(a);
ALTER TABLE t1 ADD PARTITION PARTITIONS 4;
+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)
+);
+ERROR HY000: Duplicate partition name p1b