1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Change SEL_ARG::MAX_SEL_ARGS to a user defined variable optimizer_max_sel_args

This allows a user to to change the default value of MAX_SEL_ARGS (16000)
in the rare case where they neeed more generated SEL_ARGS (as part of
the range optimizer)
This commit is contained in:
Monty
2023-09-27 01:29:22 +03:00
parent 4e9322e2ff
commit d4347177c7
9 changed files with 303 additions and 242 deletions

View File

@@ -751,6 +751,8 @@ typedef struct system_variables
ulong optimizer_search_depth;
ulong optimizer_selectivity_sampling_limit;
ulong optimizer_use_condition_selectivity;
ulong optimizer_max_sel_arg_weight;
ulong optimizer_max_sel_args;
ulong use_stat_tables;
double sample_percentage;
ulong histogram_size;
@@ -879,7 +881,7 @@ typedef struct system_variables
uint column_compression_threshold;
uint column_compression_zlib_level;
uint in_subquery_conversion_threshold;
ulong optimizer_max_sel_arg_weight;
ulonglong max_rowid_filter_size;
vers_asof_timestamp_t vers_asof_timestamp;