1
0
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:
unknown
2006-01-23 12:17:05 +01:00
parent 098af0ae1a
commit 0369042a09
47 changed files with 204 additions and 209 deletions

View File

@ -121,7 +121,7 @@ id a
begin;
insert into t3 VALUES ( NULL, 1, 1, 2 );
insert into t3 VALUES ( NULL, 1, 1, 2 );
ERROR 23000: Duplicate entry '1-1' for key 2
ERROR 23000: Duplicate entry '1-1' for key 't1_id'
commit;
select t1.* from t1, t2, t3 where t3.state & 1 = 0 and t3.t1_id = t1.id and t3.t2_id = t2.id and t1.id = 1 order by t1.a asc;
id a