summaryrefslogtreecommitdiff
path: root/heap/hp_scan.c
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-11-29 16:40:18 +0200
committermonty@mashka.mysql.fi <>2002-11-29 16:40:18 +0200
commit6603d75213d45c9b75f7c5ab9e612663da943f61 (patch)
tree9914e2306a30c63d173b56a8ac8f100ee49823d7 /heap/hp_scan.c
parentfa7798596d409251d542c938b89e1b2e428c5ca7 (diff)
downloadmariadb-git-6603d75213d45c9b75f7c5ab9e612663da943f61.tar.gz
New multi-table-update code
New (simpler) internal timestamp handling. More debuging to heap tables. Small cleanups to multi-table-delete false -> 0 and true -> 1 (We should use TRUE and FALSE)
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);
}