diff options
author | unknown <jimw@mysql.com> | 2006-02-16 08:15:36 -0800 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2006-02-16 08:15:36 -0800 |
commit | 0deff29c05c1d77453470ef5578204f69aff110f (patch) | |
tree | b3b0f8b24657de41c9fe7ebd9edba9b16ee35408 /mysql-test/r/partition.result | |
parent | a7da76f24e5e670b44d01bd7f4b47f592741bf24 (diff) | |
download | mariadb-git-0deff29c05c1d77453470ef5578204f69aff110f.tar.gz |
Bug #17169: Partitions: out of memory if add partition and unique.
When creating a new partition, a bogus memory allocation problem was
reported.
mysql-test/r/partition.result:
Add new results
mysql-test/t/partition.test:
Add new regression test
sql/sql_table.cc:
Fix inverted tests that caused mysql_copy_key_list() to not work at all,
remove a forward declaration for a function that does not exist, and fix
a debug message.
Diffstat (limited to 'mysql-test/r/partition.result')
-rw-r--r-- | mysql-test/r/partition.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result index e2601937da6..2864afab8b2 100644 --- a/mysql-test/r/partition.result +++ b/mysql-test/r/partition.result @@ -312,4 +312,7 @@ partition by hash(f_int1) partitions 2; insert into t1 values (1,1),(2,2); replace into t1 values (1,1),(2,2); drop table t1; +create table t1 (s1 int, unique (s1)) partition by list (s1) (partition x1 VALUES in (10), partition x2 values in (20)); +alter table t1 add partition (partition x3 values in (30)); +drop table t1; End of 5.1 tests |