mirror of
https://github.com/MariaDB/server.git
synced 2025-08-26 01:44:06 +03:00
"set engine_condition_pushdown" is deprecated, engine condition pushdown is controlled by a new "set optimizer_switch=engine_condition_pushdown=on|off". mysql-test/r/index_merge_myisam.result: @@optimizer_switch has a new flag mysql-test/r/mysqld--help-notwin.result: @@optimizer_switch has a new flag mysql-test/r/mysqld--help-win.result: @@optimizer_switch has a new flag mysql-test/r/optimizer_switch_eng_cond_pushdown1.result: Check how --engine-condition-pushdown and --optimizer-switch influence each other when used together (last wins). mysql-test/r/optimizer_switch_eng_cond_pushdown2.result: Check how --engine-condition-pushdown and --optimizer-switch influence each other when used together (last wins). mysql-test/suite/ndb/r/ndb_condition_pushdown.result: @@engine_condition_pushdown is deprecated, use @@optimizer_switch instead mysql-test/suite/ndb/r/ndb_gis.result: @@engine_condition_pushdown is deprecated, use @@optimizer_switch instead mysql-test/suite/ndb/r/ndb_index_unique.result: @@engine_condition_pushdown is deprecated, use @@optimizer_switch instead mysql-test/suite/ndb/t/ndb_condition_pushdown.test: @@engine_condition_pushdown is deprecated, use @@optimizer_switch instead mysql-test/suite/ndb/t/ndb_gis.test: @@engine_condition_pushdown is deprecated, use @@optimizer_switch instead mysql-test/suite/ndb/t/ndb_index_unique.test: @@engine_condition_pushdown is deprecated, use @@optimizer_switch instead mysql-test/suite/sys_vars/r/engine_condition_pushdown_basic.result: Setting @@engine_condition_pushdown gives a deprecation warning now. We test that the engine_condition_pushdown flag of @@optimizer_switch, and @@engine_condition_pushdown influence each other (turning the flag on/off sets the variable on/off and vice-versa). mysql-test/suite/sys_vars/r/optimizer_switch_basic.result: @@optimizer_switch has a new flag mysql-test/suite/sys_vars/t/engine_condition_pushdown_basic.test: Setting @@engine_condition_pushdown gives a deprecation warning now. We test that the engine_condition_pushdown flag of @@optimizer_switch, and @@engine_condition_pushdown influence each other (turning the flag on/off sets the variable on/off and vice-versa). mysql-test/t/optimizer_switch_eng_cond_pushdown1-master.opt: Check how --engine-condition-pushdown and --optimizer-switch influence each other when used together (last wins). mysql-test/t/optimizer_switch_eng_cond_pushdown1.test: Check how --engine-condition-pushdown and --optimizer-switch influence each other when used together (last wins). mysql-test/t/optimizer_switch_eng_cond_pushdown2-master.opt: Check how --engine-condition-pushdown and --optimizer-switch influence each other when used together (last wins). mysql-test/t/optimizer_switch_eng_cond_pushdown2.test: Check how --engine-condition-pushdown and --optimizer-switch influence each other when used together (last wins). sql/mysql_priv.h: new "engine_condition_pushdown" switch in @@optimizer_switch, on by default, like @@engine_condition_pushdown is on by default. Constants are ULL because optimizer_switch is stored in a ulonglong. sql/mysqld.cc: Making --engine-condition-pushdown and --optimizer-switch (command-line options) influence each other (last wins) sql/records.cc: @@engine_condition_pushdown is deprecated, use @@optimizer_switch instead sql/sql_select.cc: @@engine_condition_pushdown is deprecated, use @@optimizer_switch instead sql/sys_vars.cc: Setting @@engine_condition_pushdown now issues a deprecation message. The version for removal is unknown at this point so I copied it from other deprecation warnings in this file. Turning on/off the engine_condition_pushdown flag of @@optimizer_switch (with SET) turns on/off the @@engine_condition_pushdown variable, and vice-versa, thanks to fix_* functions.
291 lines
17 KiB
Plaintext
291 lines
17 KiB
Plaintext
SET @session_start_value = @@session.engine_condition_pushdown;
|
||
SELECT @session_start_value;
|
||
@session_start_value
|
||
1
|
||
SET @global_start_value = @@global.engine_condition_pushdown;
|
||
SELECT @global_start_value;
|
||
@global_start_value
|
||
1
|
||
select @old_session_opt_switch:=@@session.optimizer_switch,
|
||
@old_global_opt_switch:=@@global.optimizer_switch;
|
||
@old_session_opt_switch:=@@session.optimizer_switch @old_global_opt_switch:=@@global.optimizer_switch
|
||
index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on
|
||
'#--------------------FN_DYNVARS_028_01------------------------#'
|
||
SET @@session.engine_condition_pushdown = 0;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SET @@session.engine_condition_pushdown = DEFAULT;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
1
|
||
SET @@global.engine_condition_pushdown = 0;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SET @@global.engine_condition_pushdown = DEFAULT;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
1
|
||
'#---------------------FN_DYNVARS_028_02-------------------------#'
|
||
SET engine_condition_pushdown = 1;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@engine_condition_pushdown;
|
||
@@engine_condition_pushdown
|
||
1
|
||
SELECT session.engine_condition_pushdown;
|
||
ERROR 42S02: Unknown table 'session' in field list
|
||
SELECT local.engine_condition_pushdown;
|
||
ERROR 42S02: Unknown table 'local' in field list
|
||
SELECT global.engine_condition_pushdown;
|
||
ERROR 42S02: Unknown table 'global' in field list
|
||
SET session engine_condition_pushdown = 0;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
0
|
||
SET global engine_condition_pushdown = 0;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
0
|
||
'#--------------------FN_DYNVARS_028_03------------------------#'
|
||
SET @@session.engine_condition_pushdown = 0;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
0
|
||
SET @@session.engine_condition_pushdown = 1;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
1
|
||
SET @@global.engine_condition_pushdown = 0;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
0
|
||
SET @@global.engine_condition_pushdown = 1;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
1
|
||
'#--------------------FN_DYNVARS_028_04-------------------------#'
|
||
SET @@session.engine_condition_pushdown = -1;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '-1'
|
||
SET @@session.engine_condition_pushdown = 1.6;
|
||
ERROR 42000: Incorrect argument type to variable 'engine_condition_pushdown'
|
||
SET @@session.engine_condition_pushdown = "T";
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'T'
|
||
SET @@session.engine_condition_pushdown = "Y";
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'Y'
|
||
SET @@session.engine_condition_pushdown = TR<54>E;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'TR<54>E'
|
||
SET @@session.engine_condition_pushdown = <20>N;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '<27>N'
|
||
SET @@session.engine_condition_pushdown = OF;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'OF'
|
||
SET @@session.engine_condition_pushdown = <20>FF;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '<27>FF'
|
||
SET @@global.engine_condition_pushdown = -1;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '-1'
|
||
SET @@global.engine_condition_pushdown = 2;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '2'
|
||
SET @@global.engine_condition_pushdown = "T";
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'T'
|
||
SET @@global.engine_condition_pushdown = "Y";
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'Y'
|
||
SET @@global.engine_condition_pushdown = TR<54>E;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'TR<54>E'
|
||
SET @@global.engine_condition_pushdown = <20>N;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '<27>N'
|
||
SET @@global.engine_condition_pushdown = OF;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'OF'
|
||
SET @@global.engine_condition_pushdown = <20>FF;
|
||
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '<27>FF'
|
||
'#-------------------FN_DYNVARS_028_05----------------------------#'
|
||
SET @@global.engine_condition_pushdown = 0;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SET @@session.engine_condition_pushdown = 1;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown AS res_is_0;
|
||
res_is_0
|
||
0
|
||
SET @@global.engine_condition_pushdown = 0;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown AS res_is_1;
|
||
res_is_1
|
||
1
|
||
'#----------------------FN_DYNVARS_028_06------------------------#'
|
||
SELECT IF(@@global.engine_condition_pushdown, "ON", "OFF") = VARIABLE_VALUE
|
||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||
WHERE VARIABLE_NAME='engine_condition_pushdown';
|
||
IF(@@global.engine_condition_pushdown, "ON", "OFF") = VARIABLE_VALUE
|
||
1
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
0
|
||
SELECT VARIABLE_VALUE
|
||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||
WHERE VARIABLE_NAME='engine_condition_pushdown';
|
||
VARIABLE_VALUE
|
||
OFF
|
||
'#----------------------FN_DYNVARS_028_07------------------------#'
|
||
SELECT IF(@@session.engine_condition_pushdown, "ON", "OFF") = VARIABLE_VALUE
|
||
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
|
||
WHERE VARIABLE_NAME='engine_condition_pushdown';
|
||
IF(@@session.engine_condition_pushdown, "ON", "OFF") = VARIABLE_VALUE
|
||
1
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
1
|
||
SELECT VARIABLE_VALUE
|
||
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
|
||
WHERE VARIABLE_NAME='engine_condition_pushdown';
|
||
VARIABLE_VALUE
|
||
ON
|
||
'#---------------------FN_DYNVARS_028_08-------------------------#'
|
||
SET @@session.engine_condition_pushdown = OFF;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
0
|
||
SET @@session.engine_condition_pushdown = ON;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
1
|
||
SET @@global.engine_condition_pushdown = OFF;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
0
|
||
SET @@global.engine_condition_pushdown = ON;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
1
|
||
'#---------------------FN_DYNVARS_028_09----------------------#'
|
||
SET @@session.engine_condition_pushdown = TRUE;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
1
|
||
SET @@session.engine_condition_pushdown = FALSE;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
0
|
||
SET @@global.engine_condition_pushdown = TRUE;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
1
|
||
SET @@global.engine_condition_pushdown = FALSE;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
0
|
||
Check that @@engine_condition_pushdown influences
|
||
@@optimizer_switch and vice-versa
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off
|
||
set @@session.engine_condition_pushdown = TRUE;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
1 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off
|
||
set @@session.engine_condition_pushdown = FALSE;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off
|
||
set @@global.engine_condition_pushdown = TRUE;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
0 1 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on
|
||
set @@global.engine_condition_pushdown = FALSE;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off
|
||
set @@session.optimizer_switch = "engine_condition_pushdown=on";
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
1 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off
|
||
set @@session.optimizer_switch = "engine_condition_pushdown=off";
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off
|
||
set @@global.optimizer_switch = "engine_condition_pushdown=on";
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
0 1 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on
|
||
set @@global.optimizer_switch = "engine_condition_pushdown=off";
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
0 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=off
|
||
SET @@session.engine_condition_pushdown = @session_start_value;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@session.engine_condition_pushdown;
|
||
@@session.engine_condition_pushdown
|
||
1
|
||
SET @@global.engine_condition_pushdown = @global_start_value;
|
||
Warnings:
|
||
Warning 1287 The syntax '@@engine_condition_pushdown' is deprecated and will be removed in MySQL 7.0. Please use '@@optimizer_switch' instead
|
||
SELECT @@global.engine_condition_pushdown;
|
||
@@global.engine_condition_pushdown
|
||
1
|
||
set @session.optimizer_switch=@old_session_opt_switch,
|
||
@@global.optimizer_switch=@old_global_opt_switch;
|
||
select @@session.engine_condition_pushdown,
|
||
@@global.engine_condition_pushdown,
|
||
@@session.optimizer_switch, @@global.optimizer_switch;
|
||
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
||
1 1 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on
|