13
13
along with this program; if not, write to the Free Software
14
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
18
21
/* Read first record with the current key */
22
25
HP_SHARE *share = info->s;
23
26
HP_KEYDEF *keyinfo = share->keydef + inx;
26
29
if (keyinfo->algorithm == HA_KEY_ALG_BTREE)
33
memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos),
38
memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos),
36
41
hp_extract_record(share, record, pos);