Commit 9333431e authored by Igor Babaev's avatar Igor Babaev

Adjusted tests after changing the default value for

the system variable @@in_subquery_conversion_threshold
parent 5b5aa235
......@@ -1359,7 +1359,7 @@ idle-transaction-timeout 0
idle-write-transaction-timeout 0
ignore-builtin-innodb FALSE
ignore-db-dirs
in-subquery-conversion-threshold 10000
in-subquery-conversion-threshold 1000
init-connect
init-file (No default value)
init-rpl-role MASTER
......
set in_subquery_conversion_threshold=10000;
drop table if exists t1, t2, t3, t10, t100;
CREATE TABLE t1 (
event_date date DEFAULT '0000-00-00' NOT NULL,
......@@ -3006,3 +3007,4 @@ drop table t1,t2,t3;
#
# End of 10.2 tests
#
set in_subquery_conversion_threshold=default;
set @mrr_icp_extra_tmp=@@optimizer_switch;
set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
set in_subquery_conversion_threshold=10000;
drop table if exists t1, t2, t3, t10, t100;
CREATE TABLE t1 (
event_date date DEFAULT '0000-00-00' NOT NULL,
......@@ -3018,4 +3019,5 @@ drop table t1,t2,t3;
#
# End of 10.2 tests
#
set in_subquery_conversion_threshold=default;
set optimizer_switch=@mrr_icp_extra_tmp;
......@@ -3,6 +3,8 @@
#
--source include/have_innodb.inc
set in_subquery_conversion_threshold=10000;
--disable_warnings
drop table if exists t1, t2, t3, t10, t100;
--enable_warnings
......@@ -2049,3 +2051,4 @@ drop table t1,t2,t3;
--echo # End of 10.2 tests
--echo #
set in_subquery_conversion_threshold=default;
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