Commit 5b5aa235 authored by Igor Babaev's avatar Igor Babaev

Changed the default value for the system variable @@in_subquery_conversion_threshold.

parent 388ba068
...@@ -1425,10 +1425,10 @@ ENUM_VALUE_LIST NULL ...@@ -1425,10 +1425,10 @@ ENUM_VALUE_LIST NULL
READ_ONLY NO READ_ONLY NO
COMMAND_LINE_ARGUMENT REQUIRED COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME IN_SUBQUERY_CONVERSION_THRESHOLD VARIABLE_NAME IN_SUBQUERY_CONVERSION_THRESHOLD
SESSION_VALUE 10000 SESSION_VALUE 1000
GLOBAL_VALUE 10000 GLOBAL_VALUE 1000
GLOBAL_VALUE_ORIGIN COMPILE-TIME GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE 10000 DEFAULT_VALUE 1000
VARIABLE_SCOPE SESSION VARIABLE_SCOPE SESSION
VARIABLE_TYPE BIGINT UNSIGNED VARIABLE_TYPE BIGINT UNSIGNED
VARIABLE_COMMENT The minimum number of scalar elements in the value list of IN predicate that triggers its conversion to IN subquery VARIABLE_COMMENT The minimum number of scalar elements in the value list of IN predicate that triggers its conversion to IN subquery
......
...@@ -1551,10 +1551,10 @@ ENUM_VALUE_LIST NULL ...@@ -1551,10 +1551,10 @@ ENUM_VALUE_LIST NULL
READ_ONLY NO READ_ONLY NO
COMMAND_LINE_ARGUMENT REQUIRED COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME IN_SUBQUERY_CONVERSION_THRESHOLD VARIABLE_NAME IN_SUBQUERY_CONVERSION_THRESHOLD
SESSION_VALUE 10000 SESSION_VALUE 1000
GLOBAL_VALUE 10000 GLOBAL_VALUE 1000
GLOBAL_VALUE_ORIGIN COMPILE-TIME GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE 10000 DEFAULT_VALUE 1000
VARIABLE_SCOPE SESSION VARIABLE_SCOPE SESSION
VARIABLE_TYPE BIGINT UNSIGNED VARIABLE_TYPE BIGINT UNSIGNED
VARIABLE_COMMENT The minimum number of scalar elements in the value list of IN predicate that triggers its conversion to IN subquery VARIABLE_COMMENT The minimum number of scalar elements in the value list of IN predicate that triggers its conversion to IN subquery
......
...@@ -5797,5 +5797,5 @@ static Sys_var_ulong Sys_in_subquery_conversion_threshold( ...@@ -5797,5 +5797,5 @@ static Sys_var_ulong Sys_in_subquery_conversion_threshold(
"The minimum number of scalar elements in the value list of " "The minimum number of scalar elements in the value list of "
"IN predicate that triggers its conversion to IN subquery", "IN predicate that triggers its conversion to IN subquery",
SESSION_VAR(in_subquery_conversion_threshold), CMD_LINE(OPT_ARG), SESSION_VAR(in_subquery_conversion_threshold), CMD_LINE(OPT_ARG),
VALID_RANGE(0, ULONG_MAX), DEFAULT(10000), BLOCK_SIZE(1)); VALID_RANGE(0, ULONG_MAX), DEFAULT(1000), BLOCK_SIZE(1));
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