mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge mysql.com:/home/mydev/mysql-5.1
into mysql.com:/home/mydev/mysql-5.1-wl1563-msg mysql-test/r/create_select_tmp.result: Auto merged mysql-test/r/heap_hash.result: Auto merged mysql-test/r/innodb.result: Auto merged mysql-test/r/join_outer.result: Auto merged mysql-test/r/myisam.result: Auto merged mysql-test/r/ndb_index_unique.result: Auto merged mysql-test/r/rpl_loaddata.result: Auto merged mysql-test/r/sp-error.result: Auto merged mysql-test/r/sp.result: Auto merged mysql-test/r/sp_trans.result: Auto merged mysql-test/r/type_bit.result: Auto merged mysql-test/r/type_varchar.result: Auto merged sql/handler.cc: Auto merged sql/share/errmsg.txt: Auto merged mysql-test/r/heap.result: WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX Manual merge mysql-test/r/rpl_err_ignoredtable.result: WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX Manual merge mysql-test/r/rpl_insert_id.result: WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX Manual merge
This commit is contained in:
@ -469,9 +469,9 @@ b.
|
||||
c.
|
||||
update t1 set b='b ' where a=2;
|
||||
update t1 set b='b ' where a > 1;
|
||||
ERROR 23000: Duplicate entry 'b ' for key 2
|
||||
ERROR 23000: Duplicate entry 'b ' for key 'b'
|
||||
insert into t1 (b) values ('b');
|
||||
ERROR 23000: Duplicate entry 'b' for key 2
|
||||
ERROR 23000: Duplicate entry 'b' for key 'b'
|
||||
select * from t1;
|
||||
a b
|
||||
1 a
|
||||
@ -867,7 +867,7 @@ explain select count(*) from t1 where v between 'a' and 'a ' and v between 'a '
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ref v v 13 const # Using where; Using index
|
||||
alter table t1 add unique(v);
|
||||
ERROR 23000: Duplicate entry '{ ' for key 1
|
||||
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
||||
alter table t1 add key(v);
|
||||
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
||||
qq
|
||||
@ -1227,16 +1227,16 @@ drop table t1;
|
||||
create table t1 (a char(10), unique (a));
|
||||
insert into t1 values ('a ');
|
||||
insert into t1 values ('a ');
|
||||
ERROR 23000: Duplicate entry 'a' for key 1
|
||||
ERROR 23000: Duplicate entry 'a' for key 'a'
|
||||
alter table t1 modify a varchar(10);
|
||||
insert into t1 values ('a '),('a '),('a '),('a ');
|
||||
ERROR 23000: Duplicate entry 'a ' for key 1
|
||||
ERROR 23000: Duplicate entry 'a ' for key 'a'
|
||||
insert into t1 values ('a ');
|
||||
ERROR 23000: Duplicate entry 'a ' for key 1
|
||||
ERROR 23000: Duplicate entry 'a ' for key 'a'
|
||||
insert into t1 values ('a ');
|
||||
ERROR 23000: Duplicate entry 'a ' for key 1
|
||||
ERROR 23000: Duplicate entry 'a ' for key 'a'
|
||||
insert into t1 values ('a ');
|
||||
ERROR 23000: Duplicate entry 'a ' for key 1
|
||||
ERROR 23000: Duplicate entry 'a ' for key 'a'
|
||||
update t1 set a='a ' where a like 'a%';
|
||||
select concat(a,'.') from t1;
|
||||
concat(a,'.')
|
||||
|
Reference in New Issue
Block a user