mariadb/mysql-test/suite/sys_vars
Sergei Petrunia c36720388d MDEV-9750: Quick memory exhaustion with 'extended_keys=on' ...
(Variant #5, full patch, for 10.5)

Do not produce SEL_ARG graphs that would yield huge numbers of ranges.
Introduce a concept of SEL_ARG graph's "weight". If we are about to
produce a graph whose "weight" exceeds the limit, remove the parts
of SEL_ARG graph that represent the biggest key parts. Do so until
the graph's is within the limit.

Includes
- debug code to verify SEL_ARG graph weight
- A user-visible @@optimizer_max_sel_arg_weight to control the optimization
- Logging the optimization into the optimizer trace.
2021-01-29 16:20:57 +03:00
..
inc sysvars_server_* tests need to have performance schema enabled 2020-04-13 14:22:58 +03:00
r MDEV-9750: Quick memory exhaustion with 'extended_keys=on' ... 2021-01-29 16:20:57 +03:00
t Merge 10.4 into 10.5 2021-01-25 12:44:24 +02:00
disabled.def