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