diff options
author | unknown <ramil@mysql.com> | 2005-03-15 19:31:52 +0400 |
---|---|---|
committer | unknown <ramil@mysql.com> | 2005-03-15 19:31:52 +0400 |
commit | f88e388e7b7dd6274f3c9bd07ba7aba70994d787 (patch) | |
tree | 38d287295dc7d362de78330407519219d297132a /mysql-test/t/heap.test | |
parent | a22df022c0d14bbe867567eedd0ef90774db4f5a (diff) | |
parent | bcea7d6001791ffeaf081f8095ee579395256920 (diff) | |
download | mariadb-git-f88e388e7b7dd6274f3c9bd07ba7aba70994d787.tar.gz |
merging
heap/hp_create.c:
Auto merged
sql/filesort.cc:
Auto merged
mysql-test/r/heap.result:
manual merging
mysql-test/t/heap.test:
manual merging
sql/ha_heap.cc:
manual merging
Diffstat (limited to 'mysql-test/t/heap.test')
-rw-r--r-- | mysql-test/t/heap.test | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mysql-test/t/heap.test b/mysql-test/t/heap.test index 6353cd78d6a..b69649585ff 100644 --- a/mysql-test/t/heap.test +++ b/mysql-test/t/heap.test @@ -406,3 +406,32 @@ drop table t1; # Reset varchar test # eval set storage_engine=$default; + +# +# Bug #8489: Strange auto_increment behaviour +# + +create table t1 (a bigint unsigned auto_increment primary key, b int, + key (b, a)) engine=heap; +insert t1 (b) values (1); +insert t1 (b) values (1); +insert t1 (b) values (1); +insert t1 (b) values (1); +insert t1 (b) values (1); +insert t1 (b) values (1); +insert t1 (b) values (1); +insert t1 (b) values (1); +select * from t1; +drop table t1; +create table t1 (a int not null, b int not null auto_increment, + primary key(a, b), key(b)) engine=heap; +insert t1 (a) values (1); +insert t1 (a) values (1); +insert t1 (a) values (1); +insert t1 (a) values (1); +insert t1 (a) values (1); +insert t1 (a) values (1); +insert t1 (a) values (1); +insert t1 (a) values (1); +select * from t1; +drop table t1; |