1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -196,11 +196,11 @@ eval CREATE TABLE t8 (a INT PRIMARY KEY, b INT UNIQUE, c INT UNIQUE) ENGINE = $t
# First we make sure that the constraints are correctly set.
INSERT INTO t8 VALUES (99,99,99);
--error 1062
--error ER_DUP_ENTRY_WITH_KEY_NAME
INSERT INTO t8 VALUES (99,22,33);
--error 1062
--error ER_DUP_ENTRY_WITH_KEY_NAME
INSERT INTO t8 VALUES (11,99,33);
--error 1062
--error ER_DUP_ENTRY_WITH_KEY_NAME
INSERT INTO t8 VALUES (11,22,99);
SELECT * FROM t8 ORDER BY a;