diff options
author | tsmith@ramayana.hindu.god <> | 2007-12-05 12:33:36 -0700 |
---|---|---|
committer | tsmith@ramayana.hindu.god <> | 2007-12-05 12:33:36 -0700 |
commit | 8fc0bfb6b6d94a8b06c0f3a632baa477612b7249 (patch) | |
tree | 014b7a0c6686c33c9845e9527ebb9f0052457950 /mysql-test/t/key.test | |
parent | 1a87a089a76b6c097100f39ff3c13c0c6cde748e (diff) | |
parent | 4e08609f03ebd077bdd0843ab1722c8f19735c68 (diff) | |
download | mariadb-git-8fc0bfb6b6d94a8b06c0f3a632baa477612b7249.tar.gz |
Merge ramayana.hindu.god:/home/tsmith/m/bk/51
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51-merge
Diffstat (limited to 'mysql-test/t/key.test')
-rw-r--r-- | mysql-test/t/key.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/t/key.test b/mysql-test/t/key.test index 31d5ac5201b..9a4158d8e13 100644 --- a/mysql-test/t/key.test +++ b/mysql-test/t/key.test @@ -503,6 +503,26 @@ ORDER BY c.b, c.d DROP TABLE t1, t2; # +# Bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0 +# +create table t1(a int not null, key aa(a), + b char(10) not null, unique key bb(b(1)), + c char(4) not null, unique key cc(c)); +desc t1; +show create table t1; +drop table t1; +create table t1(a int not null, key aa(a), + b char(10) not null, unique key bb(b(1)), + c char(4) not null); +desc t1; +alter table t1 add unique key cc(c); +desc t1; +show create table t1; +drop table t1; + +--echo End of 5.0 tests + +# # Bug #31148: bool close_thread_table(THD*, TABLE**): Assertion # `table->key_read == 0' failed. # |