1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Sage cleanup in heap storage engine

Removed old not needed code withing #if
Changed 0x%lx to %p
This commit is contained in:
Monty
2015-10-23 18:44:13 +03:00
parent 7ec6558503
commit 7cd2095cde
10 changed files with 18 additions and 166 deletions

View File

@ -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)