summaryrefslogtreecommitdiff
path: root/heap/hp_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'heap/hp_scan.c')
-rw-r--r--heap/hp_scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/heap/hp_scan.c b/heap/hp_scan.c
index e74f8b43ba7..0bbe40ba773 100644
--- a/heap/hp_scan.c
+++ b/heap/hp_scan.c
@@ -62,6 +62,7 @@ int heap_scan(register HP_INFO *info, byte *record)
}
if (!info->current_ptr[share->reclength])
{
+ DBUG_PRINT("warning",("Found deleted record"));
info->update= HA_STATE_PREV_FOUND | HA_STATE_NEXT_FOUND;
DBUG_RETURN(my_errno=HA_ERR_RECORD_DELETED);
}