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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user