You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cannot add new warnings in 11.8 anymore:
* remove ER_WARN_DEFAULT_SYNTAX
* use ER_VARIABLE_IGNORED instead
* change the wording in it to be more generic
* simplified new_mode warning-printing code
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');
106
106
SET session alter_algorithm=@old_alter_alg;
107
107
Warnings:
108
-
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
108
+
Warning 4200 The setting 'alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
109
109
Warnings:
110
-
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
110
+
Warning 4200 The setting 'alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
111
111
SELECT COUNT(*) FROM time_zone;
112
112
COUNT(*)
113
113
2
@@ -166,9 +166,9 @@ SET SESSION SQL_LOG_BIN=@save_sql_log_bin;
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
169
+
Warning 4200 The setting 'alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
170
170
Warnings:
171
-
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
171
+
Warning 4200 The setting '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 ignored. It only exists for compatibility with old installations and will be removed in a future release
493
+
Warning 4200 The setting 'alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
494
494
Warnings:
495
-
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
495
+
Warning 4200 The setting '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 ignored. It only exists for compatibility with old installations and will be removed in a future release
310
+
Warning 4200 The setting 'alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
311
311
select @@alter_algorithm;
312
312
@@alter_algorithm
313
313
DEFAULT
314
314
set statement alter_algorithm=COPY FOR SELECT @@alter_algorithm;
315
315
@@alter_algorithm
316
316
DEFAULT
317
317
Warnings:
318
-
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
319
-
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
318
+
Warning 4200 The setting 'alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
319
+
Warning 4200 The setting 'alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
Copy file name to clipboardExpand all lines: mysql-test/main/secondary_key_costs.result
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,8 @@ explain select * from t1 where nm like '500%' AND fl2 = 0;
29
29
id select_type table type possible_keys key key_len ref rows Extra
30
30
1 SIMPLE t1 range idx1,idx2 idx1 35 NULL 1 Using index condition; Using where
31
31
Warnings:
32
-
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
33
-
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
32
+
Warning 4200 The setting 'optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
33
+
Warning 4200 The setting 'optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
34
34
set @trace=(select trace from information_schema.optimizer_trace);
@@ -97,8 +97,8 @@ explain select * from t1 where nm like '500%' AND fl2 = 0;
97
97
id select_type table type possible_keys key key_len ref rows Extra
98
98
1 SIMPLE t1 range idx1,idx2 idx1 35 NULL 1 Using index condition; Using where
99
99
Warnings:
100
-
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
101
-
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
100
+
Warning 4200 The setting 'optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
101
+
Warning 4200 The setting 'optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
102
102
set @trace=(select trace from information_schema.optimizer_trace);
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
166
+
Warning 4200 The setting 'optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
set @@optimizer_adjust_secondary_key_costs=default;
172
172
Warnings:
173
-
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
173
+
Warning 4200 The setting 'optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
174
174
#
175
175
# MDEV-34664: fix_innodb_cardinality
176
176
#
@@ -201,7 +201,7 @@ id select_type table type possible_keys key key_len ref rows Extra
201
201
1 SIMPLE t1 ref b b 5 test.t2.a 90 Using index
202
202
set @@optimizer_adjust_secondary_key_costs=8;
203
203
Warnings:
204
-
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
204
+
Warning 4200 The setting 'optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
id select_type table type possible_keys key key_len ref rows Extra
@@ -238,4 +238,4 @@ set global userstat=@save_userstat;
238
238
set global innodb_stats_persistent_sample_pages=@save_ispsp;
239
239
set @@optimizer_adjust_secondary_key_costs=default;
240
240
Warnings:
241
-
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
241
+
Warning 4200 The setting 'optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
Copy file name to clipboardExpand all lines: mysql-test/suite/sys_vars/r/alter_algorithm_basic.result
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ SELECT @@global.alter_algorithm;
4
4
DEFAULT
5
5
SET GLOBAL alter_algorithm=2;
6
6
Warnings:
7
-
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
7
+
Warning 4200 The setting '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 ignored. It only exists for compatibility with old installations and will be removed in a future release
18
+
Warning 4200 The setting 'alter_algorithm' 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 = 1;
7
7
Warnings:
8
-
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
8
+
Warning 4200 The setting 'innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
9
9
SET @@global.innodb_purge_rseg_truncate_frequency = DEFAULT;
10
10
Warnings:
11
-
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
11
+
Warning 4200 The setting '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 = 1;
24
24
Warnings:
25
-
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
25
+
Warning 4200 The setting '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 = 1;
31
31
Warnings:
32
-
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
32
+
Warning 4200 The setting '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 = 1;
37
37
Warnings:
38
-
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
38
+
Warning 4200 The setting '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 = 128;
43
43
Warnings:
44
-
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
44
+
Warning 4200 The setting '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 = -1;
50
50
Warnings:
51
-
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
51
+
Warning 4200 The setting '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 = -1024;
57
57
Warnings:
58
-
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
58
+
Warning 4200 The setting '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 = TRUE;
115
115
Warnings:
116
-
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
116
+
Warning 4200 The setting '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 = FALSE;
121
121
Warnings:
122
-
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
122
+
Warning 4200 The setting '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 = @global_start_value;
128
128
Warnings:
129
-
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
129
+
Warning 4200 The setting 'innodb_purge_rseg_truncate_frequency' is ignored. It only exists for compatibility with old installations and will be removed in a future release
Copy file name to clipboardExpand all lines: mysql-test/suite/sys_vars/r/new_mode.result
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ SELECT @@session.new_mode;
22
22
23
23
SET @@session.new_mode = "FIX_DISK_TMPTABLE_COSTS,TEST_WARNING1";
24
24
Warnings:
25
-
Warning 4209 'TEST_WARNING1' is default and ignored
25
+
Warning 4200 The setting 'new_mode=TEST_WARNING1' is ignored. It only exists for compatibility with old installations and will be removed in a future release
26
26
SET @@session.new_mode = "FIX_DISK_TMPTABLE_COSTS,TEST_WARNING1,TEST_WARNING2";
27
27
Warnings:
28
-
Warning 4209 'TEST_WARNING1' is default and ignored
29
-
Warning 4209 'TEST_WARNING2' is default and ignored
28
+
Warning 4200 The setting 'new_mode=TEST_WARNING1' is ignored. It only exists for compatibility with old installations and will be removed in a future release
29
+
Warning 4200 The setting 'new_mode=TEST_WARNING2' is ignored. It only exists for compatibility with old installations and will be removed in a future release
30
30
SET @@session.new_mode = "FIX_DISK_TMPTABLE_COSTS,TEST_WARNING1,TEST_WARNING2,TEST_WARNING3";
31
31
ERROR 42000: Variable 'new_mode' can't be set to the value of 'TEST_WARNING3'
0 commit comments