1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Give warnings for unused objects

Changed error message to be compatible with old error file
Added new error message for new DUP_ENTRY syntax
This commit is contained in:
monty@mysql.com/narttu.mysql.fi
2007-01-22 18:42:52 +02:00
parent 693b906f6e
commit 2dcc7110c9
60 changed files with 282 additions and 251 deletions

View File

@@ -25,9 +25,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");
--error 1062
--error ER_DUP_ENTRY_WITH_KEY_NAME
insert into t1 values (0,"error");
--error 1062
--error ER_DUP_ENTRY_WITH_KEY_NAME
replace into t1 values (0,"error");
replace into t1 values (126,"first updated");
replace into t1 values (63,default);