diff options
Diffstat (limited to 'heap/hp_delete.c')
-rw-r--r-- | heap/hp_delete.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/heap/hp_delete.c b/heap/hp_delete.c index 4ba2f2c5310..73e431e6e66 100644 --- a/heap/hp_delete.c +++ b/heap/hp_delete.c @@ -49,6 +49,10 @@ int heap_delete(HP_INFO *info, const byte *record) pos[share->reclength]=0; /* Record deleted */ share->deleted++; info->current_hash_ptr=0; +#if !defined(DBUG_OFF) && defined(EXTRA_HEAP_DEBUG) + DBUG_EXECUTE("check_heap",heap_check_heap(info, 0);); +#endif + DBUG_RETURN(0); err: if (++(share->records) == share->blength) |