1
0
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:
sergefp@mysql.com
2004-09-08 02:07:53 +04:00
parent 15eb33ab44
commit 2c9d2cf671
14 changed files with 386 additions and 30 deletions

View File

@ -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;