mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for bug#5138: hash indexes on heap tables support statistics.
KEY::rec_per_key is updated every time 1/HEAP_STATS_UPDATE_THRESHOLD part of table records has been changed.
This commit is contained in:
@ -97,6 +97,7 @@ void hp_clear_keys(HP_SHARE *info)
|
||||
VOID(hp_free_level(block,block->levels,block->root,(byte*) 0));
|
||||
block->levels=0;
|
||||
block->last_allocated=0;
|
||||
keyinfo->hash_buckets= 0;
|
||||
}
|
||||
}
|
||||
info->index_length=0;
|
||||
|
Reference in New Issue
Block a user