mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
Change "duplicate key" message to print key name instead of key number.
This commit is contained in:
@ -77,7 +77,7 @@ drop table t1,t2;
|
||||
create temporary table t1 (a int not null);
|
||||
insert into t1 values (1),(1);
|
||||
alter table t1 add primary key (a);
|
||||
ERROR 23000: Duplicate entry '1' for key 1
|
||||
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (
|
||||
d datetime default NULL
|
||||
|
Reference in New Issue
Block a user