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:
@ -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)
|
||||
|
Reference in New Issue
Block a user