From f1746fc26aac00d88023395cc1c955b75d7bcbba Mon Sep 17 00:00:00 2001 From: "ram@mysql.r18.ru" <> Date: Mon, 14 Oct 2002 19:50:42 +0500 Subject: DEBUG_PRINT() has been fixed --- heap/_check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'heap') 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) -- cgit v1.2.1