diff options
author | unknown <mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se> | 2006-05-11 16:03:12 -0400 |
---|---|---|
committer | unknown <mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se> | 2006-05-11 16:03:12 -0400 |
commit | 5479f8ded6404e9bb62b5b0f9c75a7d47ef76b63 (patch) | |
tree | 9314b0c43cc79b441efe7ec2df80d33033826ac1 /mysql-test/t | |
parent | 3065eeb3f8cff732e1a462b58996105881c7ca88 (diff) | |
parent | 10f571384d491cc5a11554a5eed37f1b0c591114 (diff) | |
download | mariadb-git-5479f8ded6404e9bb62b5b0f9c75a7d47ef76b63.tar.gz |
Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1-new
into c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19067
sql/partition_element.h:
Auto merged
sql/partition_info.cc:
Auto merged
sql/sql_partition.cc:
Auto merged
sql/sql_show.cc:
Auto merged
sql/sql_table.cc:
Manual merge
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/partition.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index 272cdc27af6..9316a4afc70 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -10,6 +10,19 @@ drop table if exists t1; --enable_warnings # +# BUG 19067 ALTER TABLE .. ADD PARTITION for subpartitioned table crashes +# +create table t1 (a int) +partition by range (a) +subpartition by key (a) +(partition p0 values less than (1)); +alter table t1 add partition (partition p1 values less than (2)); +show create table t1; +alter table t1 reorganize partition p1 into (partition p1 values less than (3)); +show create table t1; +drop table t1; + +# # Partition by key no partition defined => OK # CREATE TABLE t1 ( @@ -1009,4 +1022,5 @@ select auto_increment from information_schema.tables where table_name='t1'; select * from t1; drop table t1; + --echo End of 5.1 tests |