Commit 80e14ddb authored by Sergey Petrunya's avatar Sergey Petrunya

More changes from optimizer_use_mrr to optimizer_switch

parent 40acadc7
set optimizer_switch='index_condition_pushdown=off'; set optimizer_switch='index_condition_pushdown=off,mrr=off';
set @@optimizer_use_mrr=disable;
drop table if exists t1,t2,t3,t4; drop table if exists t1,t2,t3,t4;
drop database if exists mysqltest; drop database if exists mysqltest;
CREATE TABLE bug58912 (a BLOB, b TEXT, PRIMARY KEY(a(1))) ENGINE=InnoDB; CREATE TABLE bug58912 (a BLOB, b TEXT, PRIMARY KEY(a(1))) ENGINE=InnoDB;
...@@ -3244,6 +3243,5 @@ Variable_name Value ...@@ -3244,6 +3243,5 @@ Variable_name Value
Handler_update 1 Handler_update 1
Variable_name Value Variable_name Value
Handler_delete 1 Handler_delete 1
set optimizer_switch='index_condition_pushdown=default'; set optimizer_switch=default;
set @@optimizer_use_mrr=default;
DROP TABLE bug58912; DROP TABLE bug58912;
...@@ -19,8 +19,7 @@ let $MYSQLD_DATADIR= `select @@datadir`; ...@@ -19,8 +19,7 @@ let $MYSQLD_DATADIR= `select @@datadir`;
let collation=utf8_unicode_ci; let collation=utf8_unicode_ci;
--source include/have_collation.inc --source include/have_collation.inc
set optimizer_switch='index_condition_pushdown=off'; set optimizer_switch='index_condition_pushdown=off,mrr=off';
set @@optimizer_use_mrr=disable;
# Save the original values of some variables in order to be able to # Save the original values of some variables in order to be able to
# estimate how much they have changed during the tests. Previously this # estimate how much they have changed during the tests. Previously this
...@@ -2555,8 +2554,7 @@ SET GLOBAL innodb_thread_concurrency = @innodb_thread_concurrency_orig; ...@@ -2555,8 +2554,7 @@ SET GLOBAL innodb_thread_concurrency = @innodb_thread_concurrency_orig;
-- enable_query_log -- enable_query_log
set optimizer_switch='index_condition_pushdown=default'; set optimizer_switch=default;
set @@optimizer_use_mrr=default;
# Clean up after the Bug#55284/Bug#58912 test case. # Clean up after the Bug#55284/Bug#58912 test case.
DROP TABLE bug58912; DROP TABLE bug58912;
......
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