diff options
Diffstat (limited to 'heap/hp_update.c')
-rw-r--r-- | heap/hp_update.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/heap/hp_update.c b/heap/hp_update.c index b789ab82b84..2ed0edf08de 100644 --- a/heap/hp_update.c +++ b/heap/hp_update.c @@ -49,6 +49,10 @@ int heap_update(HP_INFO *info, const byte *old, const byte *heap_new) memcpy(pos,heap_new,(size_t) share->reclength); if (++(share->records) == share->blength) share->blength+= share->blength; + +#if !defined(DBUG_OFF) && defined(EXTRA_HEAP_DEBUG) + DBUG_EXECUTE("check_heap",heap_check_heap(info, 0);); +#endif if (auto_key_changed) heap_update_auto_increment(info, heap_new); DBUG_RETURN(0); |