summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2003-03-02 01:52:02 +0100
committerunknown <serg@serg.mysql.com>2003-03-02 01:52:02 +0100
commita2cc82182bbebb24a75e2d54d5361b3932416b9c (patch)
tree6a0432183b17998d8ffb6c0db7fe2ae56db83cca /mysql-test/r
parent14ea63cd1bfb3b2ebc95bd93d2b6373689e45604 (diff)
parent6a933b2e08037a4fb17ea98abf00d0990cef22ae (diff)
downloadmariadb-git-a2cc82182bbebb24a75e2d54d5361b3932416b9c.tar.gz
Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/auto_increment.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/auto_increment.result b/mysql-test/r/auto_increment.result
index 66efd2ba567..e79e6aab56b 100644
--- a/mysql-test/r/auto_increment.result
+++ b/mysql-test/r/auto_increment.result
@@ -84,6 +84,16 @@ ordid ord
3 sdj
1 zzz
drop table t1;
+create table t1 (sid char(5), id int(2) NOT NULL auto_increment, key(sid, id));
+create table t2 (sid char(20), id int(2));
+insert into t2 values ('skr',NULL),('skr',NULL),('test',NULL);
+insert into t1 select * from t2;
+select * from t1;
+sid id
+skr 1
+skr 2
+test 1
+drop table t1,t2;
create table t1 (a int not null primary key auto_increment);
insert into t1 values (0);
update t1 set a=0;