summaryrefslogtreecommitdiff
path: root/heap/hp_write.c
diff options
context:
space:
mode:
authormonty@mysql.com/narttu.mysql.fi <>2007-02-21 14:07:08 +0200
committermonty@mysql.com/narttu.mysql.fi <>2007-02-21 14:07:08 +0200
commit26aa385bc5278ec0ae842cf6558d8fd32b6876f1 (patch)
tree57fb0c9c6c3686011b021c42671cf5065cdc0cf6 /heap/hp_write.c
parent37cedb7efad7568b496eb981e40a0910c0e22494 (diff)
parent222e128b34e7cfa67270a03c3d690d81dc0bc17b (diff)
downloadmariadb-git-26aa385bc5278ec0ae842cf6558d8fd32b6876f1.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
Diffstat (limited to 'heap/hp_write.c')
-rw-r--r--heap/hp_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heap/hp_write.c b/heap/hp_write.c
index 8a392d54c51..86e79c9d7ec 100644
--- a/heap/hp_write.c
+++ b/heap/hp_write.c
@@ -68,7 +68,7 @@ int heap_write(HP_INFO *info, const byte *record)
err:
if (my_errno == HA_ERR_FOUND_DUPP_KEY)
- DBUG_PRINT("info",("Duplicate key: %d", keydef - share->keydef));
+ DBUG_PRINT("info",("Duplicate key: %d", (int) (keydef - share->keydef)));
info->errkey= keydef - share->keydef;
/*
We don't need to delete non-inserted key from rb-tree. Also, if