MDEV-27892 Improve an error message for foreign server exists (backport)

Improve and add more languages for the ERROR 1476: Foreign Server
already exists.
This commit is contained in:
Norio Akagi 2022-05-09 21:08:33 -07:00 committed by Daniel Black
parent a2bdd52835
commit 571a8f4a08

View File

@ -694,7 +694,7 @@ EXECUTE stmt_1;
# results in emitting the error ER_FOREIGN_SERVER_EXISTS
# since a server with same has just been created.
EXECUTE stmt_1;
ERROR HY000: The foreign server, s, you are trying to create already exists
ERROR HY000: Cannot create foreign server 's' as it already exists
EXECUTE stmt_2;
# Execute the same prepared statement the second time to check that
# no internal structures used for handling the 'ALTER SERVER' statement