~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/hp_rfirst.cc

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
int heap_rfirst(HP_INFO *info, unsigned char *record, int inx)
26
26
{
27
 
  HP_SHARE *share = info->s;
 
27
  HP_SHARE *share = info->getShare();
28
28
  HP_KEYDEF *keyinfo = share->keydef + inx;
29
29
 
30
30
  info->lastinx= inx;
63
63
  }
64
64
  else
65
65
  {
66
 
    if (!(info->s->records))
 
66
    if (!(info->getShare()->records))
67
67
    {
68
68
      errno=HA_ERR_END_OF_FILE;
69
69
      return(errno);