diff options
author | Sergei Golubchik <serg@mariadb.org> | 2021-02-01 13:01:12 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-02-22 19:27:12 +0100 |
commit | 06a791aa129d80762d6e999a8d05940b52eda16c (patch) | |
tree | f1ec625294e4461195d67c8e1cd107521637da21 /libmysqld | |
parent | caad32ca927fa583b292a9d1d77f091affecfc5a (diff) | |
download | mariadb-git-06a791aa129d80762d6e999a8d05940b52eda16c.tar.gz |
MDEV-23753: SIGSEGV in Column_stat::store_stat_fields
only collect persistent stats for columns explicitly listed
by the user in the ANALYZE TABLE PERSISTENT FOR COLUMNS (...)
clause. The engine can extend table->read_set as much as
it wants, it should not affect the collected statistics.
Test case from the 3b94309a6c applies - it used to crash,
because ha_partition extended table->read_set after the loop that
initialized some objects based on bits in the read_set but before the
loop that used these objects based on bits in the read_set.
Diffstat (limited to 'libmysqld')
0 files changed, 0 insertions, 0 deletions