mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Heap table code cleanup
This commit is contained in:
@ -31,7 +31,8 @@ int heap_rfirst(HP_INFO *info, byte *record, int inx)
|
||||
if ((pos = tree_search_edge(&keyinfo->rb_tree, info->parents,
|
||||
&info->last_pos, offsetof(TREE_ELEMENT, left))))
|
||||
{
|
||||
memcpy(&pos, pos + hp_rb_key_length(keyinfo, pos), sizeof(byte*));
|
||||
memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos),
|
||||
sizeof(byte*));
|
||||
info->current_ptr = pos;
|
||||
memcpy(record, pos, (size_t)share->reclength);
|
||||
info->update = HA_STATE_AKTIV;
|
||||
|
Reference in New Issue
Block a user