mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34993, part2: backport optimizer_adjust_secondary_key_costs
...and make the fix for MDEV-34993 switchable. It is enabled by default and controlled with @optimizer_adjust_secondary_key_costs=fix_card_multiplier
This commit is contained in:
@@ -672,6 +672,11 @@ typedef struct system_variables
|
||||
ulonglong sortbuff_size;
|
||||
ulonglong default_regex_flags;
|
||||
ulonglong max_mem_used;
|
||||
/*
|
||||
A bitmap of OPTIMIZER_ADJ_* flags (defined in sql_priv.h).
|
||||
See sys_vars.cc:adjust_secondary_key_cost for symbolic names.
|
||||
*/
|
||||
ulonglong optimizer_adjust_secondary_key_costs;
|
||||
|
||||
/**
|
||||
Place holders to store Multi-source variables in sys_var.cc during
|
||||
|
Reference in New Issue
Block a user