table_elimination switchable only for debug build and has no influence on the result of the test so it is removed.
This commit is contained in:
parent
11dc256ca4
commit
aec06c992b
@ -3199,7 +3199,7 @@ Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where <expr_cache><`tes
|
|||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
set @@optimizer_switch= default;
|
set @@optimizer_switch= default;
|
||||||
# LP BUG#615760 (part 2: incorrect heap table index flags)
|
# LP BUG#615760 (part 2: incorrect heap table index flags)
|
||||||
SET SESSION optimizer_switch = 'index_merge=off,index_merge_union=off,index_merge_sort_union=off,index_merge_intersection=off,index_condition_pushdown=off,firstmatch=off,loosescan=off,materialization=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=on,table_elimination=off';
|
SET SESSION optimizer_switch = 'index_merge=off,index_merge_union=off,index_merge_sort_union=off,index_merge_intersection=off,index_condition_pushdown=off,firstmatch=off,loosescan=off,materialization=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=on';
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`pk` int(11) NOT NULL AUTO_INCREMENT,
|
`pk` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`col_int_nokey` int(11) DEFAULT NULL,
|
`col_int_nokey` int(11) DEFAULT NULL,
|
||||||
|
@ -1489,7 +1489,7 @@ set @@optimizer_switch= default;
|
|||||||
#
|
#
|
||||||
--echo # LP BUG#615760 (part 2: incorrect heap table index flags)
|
--echo # LP BUG#615760 (part 2: incorrect heap table index flags)
|
||||||
#
|
#
|
||||||
SET SESSION optimizer_switch = 'index_merge=off,index_merge_union=off,index_merge_sort_union=off,index_merge_intersection=off,index_condition_pushdown=off,firstmatch=off,loosescan=off,materialization=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=on,table_elimination=off';
|
SET SESSION optimizer_switch = 'index_merge=off,index_merge_union=off,index_merge_sort_union=off,index_merge_intersection=off,index_condition_pushdown=off,firstmatch=off,loosescan=off,materialization=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=on';
|
||||||
|
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`pk` int(11) NOT NULL AUTO_INCREMENT,
|
`pk` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user