~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rlast.c

  • Committer: Jay Pipes
  • Date: 2008-07-16 16:14:22 UTC
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: jay@mysql.com-20080716161422-fy1bl8o5q7m8kglq
Removed all DBUG symbols from heap storage engine

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  HP_SHARE *share=    info->s;
24
24
  HP_KEYDEF *keyinfo= share->keydef + inx;
25
25
 
26
 
  DBUG_ENTER("heap_rlast");
27
26
  info->lastinx= inx;
28
27
  if (keyinfo->algorithm == HA_KEY_ALG_BTREE)
29
28
  {
41
40
    else
42
41
    {
43
42
      my_errno = HA_ERR_END_OF_FILE;
44
 
      DBUG_RETURN(my_errno);
 
43
      return(my_errno);
45
44
    }
46
 
    DBUG_RETURN(0);
 
45
    return(0);
47
46
  }
48
47
  else
49
48
  {
50
49
    info->current_ptr=0;
51
50
    info->current_hash_ptr=0;
52
51
    info->update=HA_STATE_NEXT_FOUND;
53
 
    DBUG_RETURN(heap_rprev(info,record));
 
52
    return(heap_rprev(info,record));
54
53
  }
55
54
}