summaryrefslogtreecommitdiff
path: root/storage/heap/hp_write.c
diff options
context:
space:
mode:
authorunknown <kroki/tomash@moonlight.home>2007-01-09 13:07:39 +0300
committerunknown <kroki/tomash@moonlight.home>2007-01-09 13:07:39 +0300
commitc12dfbe81d666ed2b2f6ed3aa21c4fd9878e00a8 (patch)
tree890a3dfbc305aea791210341bd0069e5c5e49fe8 /storage/heap/hp_write.c
parentca83b5473211850ae7866f11c7b3e3af1eb990fa (diff)
downloadmariadb-git-c12dfbe81d666ed2b2f6ed3aa21c4fd9878e00a8.tar.gz
Fix after manual merge.
storage/heap/hp_write.c: Fix after manial merge: do cast _after_ pointer substruction.
Diffstat (limited to 'storage/heap/hp_write.c')
-rw-r--r--storage/heap/hp_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/heap/hp_write.c b/storage/heap/hp_write.c
index fd51b6f00c2..86e79c9d7ec 100644
--- a/storage/heap/hp_write.c
+++ b/storage/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", (int) 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