Commit cc758332 authored by Sergei Golubchik's avatar Sergei Golubchik

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.
parent ae9a4799
...@@ -105,9 +105,9 @@ execute immediate if(@wsrep_cannot_replicate_tz, concat('ALTER TABLE time_zone_t ...@@ -105,9 +105,9 @@ execute immediate if(@wsrep_cannot_replicate_tz, concat('ALTER TABLE time_zone_t
execute immediate if(@wsrep_cannot_replicate_tz, concat('ALTER TABLE time_zone_transition_type ENGINE=', @time_zone_transition_type_engine, ', ORDER BY Time_zone_id, Transition_type_id'), 'do 0'); execute immediate if(@wsrep_cannot_replicate_tz, concat('ALTER TABLE time_zone_transition_type ENGINE=', @time_zone_transition_type_engine, ', ORDER BY Time_zone_id, Transition_type_id'), 'do 0');
SET session alter_algorithm=@old_alter_alg; SET session alter_algorithm=@old_alter_alg;
Warnings: 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
Warnings: 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 COUNT(*) FROM time_zone; SELECT COUNT(*) FROM time_zone;
COUNT(*) COUNT(*)
2 2
...@@ -166,9 +166,9 @@ SET SESSION SQL_LOG_BIN=@save_sql_log_bin; ...@@ -166,9 +166,9 @@ SET SESSION SQL_LOG_BIN=@save_sql_log_bin;
execute immediate if(@wsrep_is_on, 'SET SESSION WSREP_ON=@save_wsrep_on', 'do 0'); execute immediate if(@wsrep_is_on, 'SET SESSION WSREP_ON=@save_wsrep_on', 'do 0');
SET session alter_algorithm=@old_alter_alg; SET session alter_algorithm=@old_alter_alg;
Warnings: 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
Warnings: 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 COUNT(*) FROM time_zone; SELECT COUNT(*) FROM time_zone;
COUNT(*) COUNT(*)
2 2
...@@ -490,9 +490,9 @@ execute immediate if(@wsrep_is_on, 'SET SESSION WSREP_ON=@save_wsrep_on', 'do 0' ...@@ -490,9 +490,9 @@ execute immediate if(@wsrep_is_on, 'SET SESSION WSREP_ON=@save_wsrep_on', 'do 0'
# #
set sql_mode=only_full_group_by; set sql_mode=only_full_group_by;
Warnings: 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
Warnings: 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 COUNT(*) FROM time_zone; SELECT COUNT(*) FROM time_zone;
COUNT(*) COUNT(*)
2 2
......
...@@ -287,7 +287,7 @@ COMMAND_LINE_ARGUMENT OPTIONAL ...@@ -287,7 +287,7 @@ COMMAND_LINE_ARGUMENT OPTIONAL
GLOBAL_VALUE_PATH NULL GLOBAL_VALUE_PATH NULL
set alter_algorithm=COPY; set alter_algorithm=COPY;
Warnings: 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 @@alter_algorithm; select @@alter_algorithm;
@@alter_algorithm @@alter_algorithm
DEFAULT DEFAULT
...@@ -295,8 +295,8 @@ set statement alter_algorithm=COPY FOR SELECT @@alter_algorithm; ...@@ -295,8 +295,8 @@ set statement alter_algorithm=COPY FOR SELECT @@alter_algorithm;
@@alter_algorithm @@alter_algorithm
DEFAULT DEFAULT
Warnings: 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
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
# restart: --alter-algorithm=COPY # restart: --alter-algorithm=COPY
select @@alter_algorithm; select @@alter_algorithm;
@@alter_algorithm @@alter_algorithm
......
...@@ -29,8 +29,8 @@ explain select * from t1 where nm like '500%' AND fl2 = 0; ...@@ -29,8 +29,8 @@ explain select * from t1 where nm like '500%' AND fl2 = 0;
id select_type table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range idx1,idx2 idx1 35 NULL 1 Using index condition; Using where 1 SIMPLE t1 range idx1,idx2 idx1 35 NULL 1 Using index condition; Using where
Warnings: Warnings:
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is deleted and ignored. It it only exists for compatiblity with old installations Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is deleted and ignored. It it only exists for compatiblity with old installations Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
set @trace=(select trace from information_schema.optimizer_trace); set @trace=(select trace from information_schema.optimizer_trace);
select json_detailed(json_extract(@trace, '$**.considered_access_paths')); select json_detailed(json_extract(@trace, '$**.considered_access_paths'));
json_detailed(json_extract(@trace, '$**.considered_access_paths')) json_detailed(json_extract(@trace, '$**.considered_access_paths'))
...@@ -97,8 +97,8 @@ explain select * from t1 where nm like '500%' AND fl2 = 0; ...@@ -97,8 +97,8 @@ explain select * from t1 where nm like '500%' AND fl2 = 0;
id select_type table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range idx1,idx2 idx1 35 NULL 1 Using index condition; Using where 1 SIMPLE t1 range idx1,idx2 idx1 35 NULL 1 Using index condition; Using where
Warnings: Warnings:
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is deleted and ignored. It it only exists for compatiblity with old installations Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is deleted and ignored. It it only exists for compatiblity with old installations Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
set @trace=(select trace from information_schema.optimizer_trace); set @trace=(select trace from information_schema.optimizer_trace);
select json_detailed(json_extract(@trace, '$**.considered_access_paths')); select json_detailed(json_extract(@trace, '$**.considered_access_paths'));
json_detailed(json_extract(@trace, '$**.considered_access_paths')) json_detailed(json_extract(@trace, '$**.considered_access_paths'))
......
...@@ -21,9 +21,9 @@ SET @save_wsrep_mode=@@WSREP_MODE; ...@@ -21,9 +21,9 @@ SET @save_wsrep_mode=@@WSREP_MODE;
# Apply on node_1 # Apply on node_1
Warnings: 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
Warnings: 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
'binlog stationary as expected' 'binlog stationary as expected'
SELECT @wsrep_is_on, @wsrep_cannot_replicate_tz, @save_wsrep_on, @save_sql_log_bin, @@WSREP_ON, @@SQL_LOG_BIN; SELECT @wsrep_is_on, @wsrep_cannot_replicate_tz, @save_wsrep_on, @save_sql_log_bin, @@WSREP_ON, @@SQL_LOG_BIN;
@wsrep_is_on @wsrep_cannot_replicate_tz @save_wsrep_on @save_sql_log_bin @@WSREP_ON @@SQL_LOG_BIN @wsrep_is_on @wsrep_cannot_replicate_tz @save_wsrep_on @save_sql_log_bin @@WSREP_ON @@SQL_LOG_BIN
...@@ -78,9 +78,9 @@ COUNT(*) ...@@ -78,9 +78,9 @@ COUNT(*)
connection node_1; connection node_1;
SET GLOBAL WSREP_MODE='REPLICATE_ARIA,REPLICATE_MYISAM'; SET GLOBAL WSREP_MODE='REPLICATE_ARIA,REPLICATE_MYISAM';
Warnings: 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
Warnings: 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
'binlog stationary as expected' 'binlog stationary as expected'
SELECT @wsrep_is_on, @wsrep_cannot_replicate_tz, @save_wsrep_on, @save_sql_log_bin, @@WSREP_ON, @@SQL_LOG_BIN; SELECT @wsrep_is_on, @wsrep_cannot_replicate_tz, @save_wsrep_on, @save_sql_log_bin, @@WSREP_ON, @@SQL_LOG_BIN;
@wsrep_is_on @wsrep_cannot_replicate_tz @save_wsrep_on @save_sql_log_bin @@WSREP_ON @@SQL_LOG_BIN @wsrep_is_on @wsrep_cannot_replicate_tz @save_wsrep_on @save_sql_log_bin @@WSREP_ON @@SQL_LOG_BIN
...@@ -137,9 +137,9 @@ COUNT(*) ...@@ -137,9 +137,9 @@ COUNT(*)
connection node_1; connection node_1;
Warnings: 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
Warnings: 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
'binlog advanced as expected' 'binlog advanced as expected'
SELECT @wsrep_is_on, @wsrep_cannot_replicate_tz, @save_wsrep_on, @save_sql_log_bin, @@WSREP_ON, @@SQL_LOG_BIN; SELECT @wsrep_is_on, @wsrep_cannot_replicate_tz, @save_wsrep_on, @save_sql_log_bin, @@WSREP_ON, @@SQL_LOG_BIN;
@wsrep_is_on @wsrep_cannot_replicate_tz @save_wsrep_on @save_sql_log_bin @@WSREP_ON @@SQL_LOG_BIN @wsrep_is_on @wsrep_cannot_replicate_tz @save_wsrep_on @save_sql_log_bin @@WSREP_ON @@SQL_LOG_BIN
...@@ -199,9 +199,9 @@ TRUNCATE TABLE time_zone_leap_second; ...@@ -199,9 +199,9 @@ TRUNCATE TABLE time_zone_leap_second;
connection node_1; connection node_1;
SET GLOBAL WSREP_MODE=''; SET GLOBAL WSREP_MODE='';
Warnings: 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
Warnings: 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
'binlog advanced as expected' 'binlog advanced as expected'
SELECT @wsrep_is_on, @wsrep_cannot_replicate_tz, @save_wsrep_on, @save_sql_log_bin, @@WSREP_ON, @@SQL_LOG_BIN; SELECT @wsrep_is_on, @wsrep_cannot_replicate_tz, @save_wsrep_on, @save_sql_log_bin, @@WSREP_ON, @@SQL_LOG_BIN;
@wsrep_is_on @wsrep_cannot_replicate_tz @save_wsrep_on @save_sql_log_bin @@WSREP_ON @@SQL_LOG_BIN @wsrep_is_on @wsrep_cannot_replicate_tz @save_wsrep_on @save_sql_log_bin @@WSREP_ON @@SQL_LOG_BIN
......
...@@ -4,7 +4,7 @@ SELECT @@global.alter_algorithm; ...@@ -4,7 +4,7 @@ SELECT @@global.alter_algorithm;
DEFAULT DEFAULT
SET GLOBAL alter_algorithm=2; SET GLOBAL alter_algorithm=2;
Warnings: 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; SELECT @@global.alter_algorithm;
@@global.alter_algorithm @@global.alter_algorithm
DEFAULT DEFAULT
...@@ -15,7 +15,7 @@ SELECT @@global.alter_algorithm; ...@@ -15,7 +15,7 @@ SELECT @@global.alter_algorithm;
DEFAULT DEFAULT
SET SESSION alter_algorithm=INSTANT; SET SESSION alter_algorithm=INSTANT;
Warnings: 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'; SHOW SESSION VARIABLES LIKE 'alter_algorithm';
Variable_name Value Variable_name Value
alter_algorithm DEFAULT alter_algorithm DEFAULT
...@@ -5,10 +5,10 @@ SELECT @global_start_value; ...@@ -5,10 +5,10 @@ SELECT @global_start_value;
'#--------------------FN_DYNVARS_046_01------------------------#' '#--------------------FN_DYNVARS_046_01------------------------#'
SET @@global.innodb_purge_rseg_truncate_frequency = 1; SET @@global.innodb_purge_rseg_truncate_frequency = 1;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SET @@global.innodb_purge_rseg_truncate_frequency = DEFAULT; SET @@global.innodb_purge_rseg_truncate_frequency = DEFAULT;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
128 128
...@@ -22,40 +22,40 @@ SELECT local.innodb_purge_rseg_truncate_frequency; ...@@ -22,40 +22,40 @@ SELECT local.innodb_purge_rseg_truncate_frequency;
ERROR 42S02: Unknown table 'local' in field list ERROR 42S02: Unknown table 'local' in field list
SET global innodb_purge_rseg_truncate_frequency = 1; SET global innodb_purge_rseg_truncate_frequency = 1;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
1 1
'#--------------------FN_DYNVARS_046_03------------------------#' '#--------------------FN_DYNVARS_046_03------------------------#'
SET @@global.innodb_purge_rseg_truncate_frequency = 1; SET @@global.innodb_purge_rseg_truncate_frequency = 1;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
1 1
SET @@global.innodb_purge_rseg_truncate_frequency = 1; SET @@global.innodb_purge_rseg_truncate_frequency = 1;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
1 1
SET @@global.innodb_purge_rseg_truncate_frequency = 128; SET @@global.innodb_purge_rseg_truncate_frequency = 128;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
128 128
'#--------------------FN_DYNVARS_046_05-------------------------#' '#--------------------FN_DYNVARS_046_05-------------------------#'
SET @@global.innodb_purge_rseg_truncate_frequency = -1; SET @@global.innodb_purge_rseg_truncate_frequency = -1;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
Warning 1292 Truncated incorrect innodb_purge_rseg_truncate_fr... value: '-1' Warning 1292 Truncated incorrect innodb_purge_rseg_truncate_fr... value: '-1'
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
1 1
SET @@global.innodb_purge_rseg_truncate_frequency = -1024; SET @@global.innodb_purge_rseg_truncate_frequency = -1024;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
Warning 1292 Truncated incorrect innodb_purge_rseg_truncate_fr... value: '-1024' Warning 1292 Truncated incorrect innodb_purge_rseg_truncate_fr... value: '-1024'
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
...@@ -113,20 +113,20 @@ SELECT @@global.innodb_purge_rseg_truncate_frequency; ...@@ -113,20 +113,20 @@ SELECT @@global.innodb_purge_rseg_truncate_frequency;
'#---------------------FN_DYNVARS_046_08----------------------#' '#---------------------FN_DYNVARS_046_08----------------------#'
SET @@global.innodb_purge_rseg_truncate_frequency = TRUE; SET @@global.innodb_purge_rseg_truncate_frequency = TRUE;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
1 1
SET @@global.innodb_purge_rseg_truncate_frequency = FALSE; SET @@global.innodb_purge_rseg_truncate_frequency = FALSE;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
Warning 1292 Truncated incorrect innodb_purge_rseg_truncate_fr... value: '0' Warning 1292 Truncated incorrect innodb_purge_rseg_truncate_fr... value: '0'
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
1 1
SET @@global.innodb_purge_rseg_truncate_frequency = @global_start_value; SET @@global.innodb_purge_rseg_truncate_frequency = @global_start_value;
Warnings: Warnings:
Warning 1287 '@@innodb_purge_rseg_truncate_frequency' is deprecated and will be removed in a future release Warning 4200 The variable '@@innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
SELECT @@global.innodb_purge_rseg_truncate_frequency; SELECT @@global.innodb_purge_rseg_truncate_frequency;
@@global.innodb_purge_rseg_truncate_frequency @@global.innodb_purge_rseg_truncate_frequency
128 128
...@@ -430,8 +430,9 @@ void sys_var::do_deprecated_warning(THD *thd) ...@@ -430,8 +430,9 @@ void sys_var::do_deprecated_warning(THD *thd)
char buf1[NAME_CHAR_LEN + 3]; char buf1[NAME_CHAR_LEN + 3];
strxnmov(buf1, sizeof(buf1)-1, "@@", name.str, 0); strxnmov(buf1, sizeof(buf1)-1, "@@", name.str, 0);
if (option.comment == UNUSED_HELP) if (option.comment == UNUSED_HELP ||
my_error(ER_VARIABLE_DELETED, MYF(ME_WARNING), buf1); strcmp(option.comment, UNUSED_HELP) == 0)
my_error(ER_VARIABLE_IGNORED, MYF(ME_WARNING), buf1);
else else
{ {
char buf2[NAME_CHAR_LEN + 3]; char buf2[NAME_CHAR_LEN + 3];
......
...@@ -12278,5 +12278,5 @@ ER_SEQUENCE_TABLE_CANNOT_HAVE_ANY_CONSTRAINTS ...@@ -12278,5 +12278,5 @@ ER_SEQUENCE_TABLE_CANNOT_HAVE_ANY_CONSTRAINTS
eng "Sequence tables cannot have any constraints" eng "Sequence tables cannot have any constraints"
ER_SEQUENCE_TABLE_ORDER_BY ER_SEQUENCE_TABLE_ORDER_BY
eng "ORDER BY" eng "ORDER BY"
ER_VARIABLE_DELETED ER_VARIABLE_IGNORED
eng "The variable '%s' is deleted and ignored. It it only exists for compatiblity with old installations" eng "The variable '%s' is ignored. It only exists for compatibility with old installations and will be removed in a future release"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment