diff options
author | unknown <serg@serg.mylan> | 2004-07-30 14:17:12 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-07-30 14:17:12 +0200 |
commit | 864405db7d9bd1c627ca787324e9db81ea9e19bf (patch) | |
tree | 94ee1fe4d2a2a800329f6fe2212f4b9facf1a8a7 /mysql-test/t/auto_increment.test | |
parent | 274e1bee6bb865ec7b293f87f87cc5428215d971 (diff) | |
download | mariadb-git-864405db7d9bd1c627ca787324e9db81ea9e19bf.tar.gz |
no_auto_value_on_zero + alter table bug
Diffstat (limited to 'mysql-test/t/auto_increment.test')
-rw-r--r-- | mysql-test/t/auto_increment.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/auto_increment.test b/mysql-test/t/auto_increment.test index 65770f32476..e5986e6755d 100644 --- a/mysql-test/t/auto_increment.test +++ b/mysql-test/t/auto_increment.test @@ -140,6 +140,11 @@ insert into t1(b)values(7); select * from t1 order by b; alter table t1 modify b mediumint; select * from t1 order by b; +create table t2 (a int); +insert t2 values (1),(2); +alter table t2 add b int auto_increment primary key; +select * from t2; +drop table t2; delete from t1 where a=0; update t1 set a=0 where b=5; select * from t1 order by b; |