1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-26 07:02:12 +03:00

ER_VARIABLE_DELETED fix typos, adjust wording, fix plugins.

plugins can have unused variables too. If they use a literal "Unused"
string a compiler might or might not merge two identical strings into
one (-fmerge-constants) and depending on that the server will or will
not issue a "variable is ignored" warning.
This commit is contained in:
Sergei Golubchik
2024-03-14 20:46:41 +01:00
parent ae9a4799d7
commit cc758332ba
8 changed files with 39 additions and 38 deletions

View File

@ -4,7 +4,7 @@ SELECT @@global.alter_algorithm;
DEFAULT
SET GLOBAL alter_algorithm=2;
Warnings:
Warning 4200 The variable '@@alter_algorithm' is deleted and ignored. It it only exists for compatiblity with old installations
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SELECT @@global.alter_algorithm;
@@global.alter_algorithm
DEFAULT
@ -15,7 +15,7 @@ SELECT @@global.alter_algorithm;
DEFAULT
SET SESSION alter_algorithm=INSTANT;
Warnings:
Warning 4200 The variable '@@alter_algorithm' is deleted and ignored. It it only exists for compatiblity with old installations
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SHOW SESSION VARIABLES LIKE 'alter_algorithm';
Variable_name Value
alter_algorithm DEFAULT