diff options
author | unknown <ingo@mysql.com> | 2006-01-23 12:17:05 +0100 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2006-01-23 12:17:05 +0100 |
commit | 0369042a0903ac4c0c07ec44f723b34e4f0821e1 (patch) | |
tree | b8e563f22089b8c74c2ba8e68fb041431a9a4829 /mysql-test/r/create.result | |
parent | 098af0ae1aae693829f0c9daef551f2c3571c476 (diff) | |
download | mariadb-git-0369042a0903ac4c0c07ec44f723b34e4f0821e1.tar.gz |
WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
Change "duplicate key" message to print key name
instead of key number.
Diffstat (limited to 'mysql-test/r/create.result')
-rw-r--r-- | mysql-test/r/create.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result index 123750f2180..904805bac95 100644 --- a/mysql-test/r/create.result +++ b/mysql-test/r/create.result @@ -162,7 +162,7 @@ Note 1051 Unknown table 't2' CREATE TABLE t1 (a int not null); INSERT INTO t1 values (1),(2),(1); CREATE TABLE t2 (primary key(a)) SELECT * FROM t1; -ERROR 23000: Duplicate entry '1' for key 1 +ERROR 23000: Duplicate entry '1' for key 'PRIMARY' SELECT * from t2; ERROR 42S02: Table 'test.t2' doesn't exist DROP TABLE t1; @@ -280,7 +280,7 @@ create table if not exists t1 select 3 as 'a',4 as 'b'; Warnings: Note 1050 Table 't1' already exists create table if not exists t1 select 3 as 'a',3 as 'b'; -ERROR 23000: Duplicate entry '3' for key 1 +ERROR 23000: Duplicate entry '3' for key 'PRIMARY' select * from t1; a b 1 1 |