summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authorunknown <ram@mysql.r18.ru>2002-10-14 19:50:42 +0500
committerunknown <ram@mysql.r18.ru>2002-10-14 19:50:42 +0500
commitafea355bc6e1cd4e826d707d7d03c3422c1ce479 (patch)
tree0f5efef940a8fd74647e610652e61285fd72410c /heap
parenta299a27021a7bdd65f93f99f9eb0003f082b305d (diff)
downloadmariadb-git-afea355bc6e1cd4e826d707d7d03c3422c1ce479.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)