diff options
author | unknown <evgen@moonbone.local> | 2006-07-13 18:16:16 +0400 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2006-07-13 18:16:16 +0400 |
commit | 805c33a5e161864c5eee91f02335eb59000c77b2 (patch) | |
tree | 7f6569df935d07558c6602029f0648e288a95f84 /mysql-test/r/rpl_insert_id.result | |
parent | a7dddd3b67e70292c0813e80ad255f1dc2f3a867 (diff) | |
parent | f783a15aada23772e9aae11f9732dd6e9ed095de (diff) | |
download | mariadb-git-805c33a5e161864c5eee91f02335eb59000c77b2.tar.gz |
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0
into moonbone.local:/work/tmp_merge-5.0-opt-mysql
mysql-test/r/rpl_insert_id.result:
Auto merged
mysql-test/t/rpl_insert_id.test:
Auto merged
sql/item_strfunc.cc:
Auto merged
sql/item_strfunc.h:
Auto merged
sql/sql_class.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_select.cc:
Auto merged
Diffstat (limited to 'mysql-test/r/rpl_insert_id.result')
-rw-r--r-- | mysql-test/r/rpl_insert_id.result | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_insert_id.result b/mysql-test/r/rpl_insert_id.result index cd66e8727c1..3aa82bf1d63 100644 --- a/mysql-test/r/rpl_insert_id.result +++ b/mysql-test/r/rpl_insert_id.result @@ -74,6 +74,19 @@ SET FOREIGN_KEY_CHECKS=0; INSERT INTO t1 VALUES (1),(1); ERROR 23000: Duplicate entry '1' for key 1 drop table t1; +create table t1(a int auto_increment, key(a)); +create table t2(a int); +insert into t1 (a) values (null); +insert into t2 (a) select a from t1 where a is null; +insert into t2 (a) select a from t1 where a is null; +select * from t2; +a +1 +select * from t2; +a +1 +drop table t1; +drop table t2; drop function if exists bug15728; drop function if exists bug15728_insert; drop table if exists t1, t2; |