mirror of
https://github.com/MariaDB/server.git
synced 2025-11-12 10:22:39 +03:00
The crash was caused by range optimizer using RANGE_OPT_PARAM::min_key (and max_key) to store keys. Buffer size was a good upper bound for range analysis and partition pruning, but not for EITS selectivity calculations. Fixed by making these buffers variable-size. The sizes are calculated from [pseudo]indexes used for range analysis.
7.8 KiB
7.8 KiB