70
70
info->last_pos= NULL; /* For heap_rnext/heap_rprev */
72
72
custom_arg.keyseg= keyinfo->seg;
73
custom_arg.key_length= hp_rb_make_key(keyinfo, info->recbuf, record, recpos);
73
custom_arg.key_length= hp_rb_make_key(keyinfo, &info->recbuf[0], record, recpos);
74
74
custom_arg.search_flag= SEARCH_SAME;
75
75
old_allocated= keyinfo->rb_tree.allocated;
76
res= tree_delete(&keyinfo->rb_tree, info->recbuf, custom_arg.key_length,
76
res= tree_delete(&keyinfo->rb_tree, &info->recbuf[0], custom_arg.key_length,
78
78
info->getShare()->index_length-= (old_allocated - keyinfo->rb_tree.allocated);