Commit 72eea39d authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-23991 fixup: Initialize the memory

This regression was introduced in
commit afc9d00c.
This is a partial backport of
commit 199863d7 from 10.4.
parent fbcd7c0c
......@@ -2249,6 +2249,9 @@ dict_stats_update_persistent(
}
ut_ad(!dict_index_is_ibuf(index));
mutex_enter(&dict_sys->mutex);
dict_stats_empty_index(index, false);
mutex_exit(&dict_sys->mutex);
index_stats_t stats = dict_stats_analyze_index(index);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment