1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-03 14:33:32 +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

@@ -107,7 +107,7 @@ call foo4();
ERROR 23000: Duplicate entry '20' for key 1
show warnings;
Level Code Message
Error 1062 Duplicate entry '20' for key 1
Error 1579 Duplicate entry '20' for key 1
select * from t2;
a
20
@@ -241,7 +241,7 @@ return 10;
end|
do fn1(100);
Warnings:
Error 1062 Duplicate entry '100' for key 1
Error 1579 Duplicate entry '100' for key 1
select fn1(20);
ERROR 23000: Duplicate entry '20' for key 1
select * from t2;