summaryrefslogtreecommitdiff
path: root/heap/hp_scan.c
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-12-05 19:38:42 +0200
committermonty@mashka.mysql.fi <>2002-12-05 19:38:42 +0200
commit859b68847666823baa328c5c7f3da96787807bb3 (patch)
tree56f9dc35fe3c9e6c4f341e577ff3db68855d9e81 /heap/hp_scan.c
parent564487d7c00098e8a37c8e675197414667685452 (diff)
parent496a0e1630f9dc4047fb5244cb87ee5ca03b409e (diff)
downloadmariadb-git-859b68847666823baa328c5c7f3da96787807bb3.tar.gz
Merge with 4.0.6
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 487d48c3a95..59e544ca590 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);
}