mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
BTREE heap key structure is now the same as MyISAM
_mi_compare_text -> mi_compate_text Changes according Monty's suggestions
This commit is contained in:
@ -31,7 +31,7 @@ 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 + keyinfo->ref_offs, sizeof(byte*));
|
||||
memcpy(&pos, pos + hp_rb_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