summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authorram@mysql.r18.ru <>2002-10-14 19:50:42 +0500
committerram@mysql.r18.ru <>2002-10-14 19:50:42 +0500
commitf1746fc26aac00d88023395cc1c955b75d7bcbba (patch)
tree0f5efef940a8fd74647e610652e61285fd72410c /heap
parentd9f998164d6612da1b5a32858de7b9d34929036c (diff)
downloadmariadb-git-f1746fc26aac00d88023395cc1c955b75d7bcbba.tar.gz
DEBUG_PRINT() has been fixed
Diffstat (limited to 'heap')
-rw-r--r--heap/_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/heap/_check.c b/heap/_check.c
index 3b2fc9afad9..fcc40a5413d 100644
--- a/heap/_check.c
+++ b/heap/_check.c
@@ -117,7 +117,7 @@ static int check_one_rb_key(HP_INFO *info, uint keynr, ulong records,
{
error= 1;
DBUG_PRINT("error",("Record in wrong link: Link %d Record: %lx\n",
- link, recpos));
+ key, recpos));
}
else
{
@@ -130,7 +130,7 @@ static int check_one_rb_key(HP_INFO *info, uint keynr, ulong records,
}
if (found != records)
{
- DBUG_PRINT("error",("Found %ld of %ld records"));
+ DBUG_PRINT("error",("Found %ld of %ld records", found, records));
error= 1;
}
if (print_status)