From 6603d75213d45c9b75f7c5ab9e612663da943f61 Mon Sep 17 00:00:00 2001 From: "monty@mashka.mysql.fi" <> Date: Fri, 29 Nov 2002 16:40:18 +0200 Subject: 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) --- heap/hp_write.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'heap/hp_write.c') diff --git a/heap/hp_write.c b/heap/hp_write.c index 806f40e5be5..18fa95e7760 100644 --- a/heap/hp_write.c +++ b/heap/hp_write.c @@ -60,7 +60,11 @@ int heap_write(HP_INFO *info, const byte *record) info->current_ptr=pos; info->current_hash_ptr=0; info->update|=HA_STATE_AKTIV; +#if !defined(DBUG_OFF) && defined(EXTRA_HEAP_DEBUG) + DBUG_EXECUTE("check_heap",heap_check_heap(info, 0);); +#endif DBUG_RETURN(0); + err: DBUG_PRINT("info",("Duplicate key: %d",key)); info->errkey= key; @@ -74,6 +78,7 @@ err: *((byte**) pos)=share->del_link; share->del_link=pos; pos[share->reclength]=0; /* Record deleted */ + DBUG_RETURN(my_errno); } /* heap_write */ -- cgit v1.2.1