summaryrefslogtreecommitdiff
path: root/storage/heap/hp_delete.c
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2015-10-23 18:44:13 +0300
committerMonty <monty@mariadb.org>2015-11-10 13:46:56 +0200
commit7cd2095cde11af4ac0478c5ff9a221a832e23586 (patch)
tree39b74a8441bfae11037e11b70493a36fd06a4ea4 /storage/heap/hp_delete.c
parent7ec655850397a0edfcea8c1fd82650824297e564 (diff)
downloadmariadb-git-7cd2095cde11af4ac0478c5ff9a221a832e23586.tar.gz
Sage cleanup in heap storage engine
Removed old not needed code withing #if Changed 0x%lx to %p
Diffstat (limited to 'storage/heap/hp_delete.c')
-rw-r--r--storage/heap/hp_delete.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/heap/hp_delete.c b/storage/heap/hp_delete.c
index 1cbfe7408d4..0c1c2c4c8f8 100644
--- a/storage/heap/hp_delete.c
+++ b/storage/heap/hp_delete.c
@@ -23,7 +23,7 @@ int heap_delete(HP_INFO *info, const uchar *record)
HP_SHARE *share=info->s;
HP_KEYDEF *keydef, *end, *p_lastinx;
DBUG_ENTER("heap_delete");
- DBUG_PRINT("enter",("info: 0x%lx record: 0x%lx", (long) info, (long) record));
+ DBUG_PRINT("enter",("info: %p record: %p", info, record));
test_active(info);
@@ -139,8 +139,8 @@ int hp_delete_key(HP_INFO *info, register HP_KEYDEF *keyinfo,
/* Save for heap_rnext/heap_rprev */
info->current_hash_ptr=last_ptr;
info->current_ptr = last_ptr ? last_ptr->ptr_to_rec : 0;
- DBUG_PRINT("info",("Corrected current_ptr to point at: 0x%lx",
- (long) info->current_ptr));
+ DBUG_PRINT("info",("Corrected current_ptr to point at: %p",
+ info->current_ptr));
}
empty=pos;
if (gpos)