summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-10-14 17:50:44 +0300
committermonty@hundin.mysql.fi <>2002-10-14 17:50:44 +0300
commita975cecf4278e234916f8b6b48b41a2104d6a804 (patch)
treec79c25cc391968bfcdb07eaf6c69e1d0bf26358a /heap
parent91c8660c5adaef78f50431a72719b2240be7ed13 (diff)
parent3c7f6a98357a0867a0a16c4c2a636ec83bdf72fd (diff)
downloadmariadb-git-a975cecf4278e234916f8b6b48b41a2104d6a804.tar.gz
Merge
Diffstat (limited to 'heap')
-rw-r--r--heap/_check.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/heap/_check.c b/heap/_check.c
index fcc40a5413d..4a6482901d9 100644
--- a/heap/_check.c
+++ b/heap/_check.c
@@ -116,13 +116,11 @@ static int check_one_rb_key(HP_INFO *info, uint keynr, ulong records,
SEARCH_FIND | SEARCH_SAME, &not_used))
{
error= 1;
- DBUG_PRINT("error",("Record in wrong link: Link %d Record: %lx\n",
- key, recpos));
+ DBUG_PRINT("error",("Record in wrong link: key: %d Record: %lx\n",
+ keynr, recpos));
}
else
- {
found++;
- }
key= tree_search_next(&keydef->rb_tree, &info->last_pos,
offsetof(TREE_ELEMENT, left),
offsetof(TREE_ELEMENT, right));
@@ -130,7 +128,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", found, records));
+ DBUG_PRINT("error",("Found %lu of %lu records", found, records));
error= 1;
}
if (print_status)