18
18
/* Read first record with the current key */
23
23
HP_SHARE *share= info->s;
24
24
HP_KEYDEF *keyinfo= share->keydef + inx;
27
28
if (keyinfo->algorithm == HA_KEY_ALG_BTREE)
31
32
if ((pos = tree_search_edge(&keyinfo->rb_tree, info->parents,
32
33
&info->last_pos, offsetof(TREE_ELEMENT, right))))
34
35
memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos),
38
39
info->update = HA_STATE_AKTIV;
42
43
my_errno = HA_ERR_END_OF_FILE;
50
51
info->current_hash_ptr=0;
51
52
info->update=HA_STATE_NEXT_FOUND;