1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for using uninitialized memory

MDEV-22073 MSAN use-of-uninitialized-value in
collect_statistics_for_table()

Other things:
innodb.analyze_table was changed to mainly test statistic
collection. Was discussed with Marko.
This commit is contained in:
Monty
2020-05-15 14:20:43 +03:00
parent 277aa85c9b
commit af784385b4
6 changed files with 48 additions and 46 deletions

View File

@ -1671,6 +1671,7 @@ public:
*/
virtual bool add()
{
table_field->mark_unused_memory_as_defined();
return tree->unique_add(table_field->ptr);
}