1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +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:
ingo@mysql.com
2006-01-23 12:17:05 +01:00
parent 9a6bad5951
commit b6e28c99d0
47 changed files with 204 additions and 209 deletions

View File

@@ -13,9 +13,9 @@ drop table t1;
create table t1 (a tinyint not null auto_increment primary key, b char(20) default "default_value");
insert into t1 values (126,"first"),(63, "middle"),(0,"last");
insert into t1 values (0,"error");
ERROR 23000: Duplicate entry '127' for key 1
ERROR 23000: Duplicate entry '127' for key 'PRIMARY'
replace into t1 values (0,"error");
ERROR 23000: Duplicate entry '127' for key 1
ERROR 23000: Duplicate entry '127' for key 'PRIMARY'
replace into t1 values (126,"first updated");
replace into t1 values (63,default);
select * from t1;