summaryrefslogtreecommitdiff
path: root/mysql-test/t/auto_increment.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-07-30 14:17:12 +0200
committerunknown <serg@serg.mylan>2004-07-30 14:17:12 +0200
commit864405db7d9bd1c627ca787324e9db81ea9e19bf (patch)
tree94ee1fe4d2a2a800329f6fe2212f4b9facf1a8a7 /mysql-test/t/auto_increment.test
parent274e1bee6bb865ec7b293f87f87cc5428215d971 (diff)
downloadmariadb-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.test5
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;