18
20
/* Read first record with the current key */
20
22
int heap_rfirst(HP_INFO *info, unsigned char *record, int inx)
22
24
HP_SHARE *share = info->s;
23
25
HP_KEYDEF *keyinfo = share->keydef + inx;
26
28
if (keyinfo->algorithm == HA_KEY_ALG_BTREE)