~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rprev.c

  • Committer: Andy Lester
  • Date: 2008-08-09 23:31:41 UTC
  • mto: (266.1.31 use-replace-funcs)
  • mto: This revision was merged to the branch mainline in revision 295.
  • Revision ID: andy@petdance.com-20080809233141-7qir713yfv7352q5
constĀ happiness

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        /* Read prev record for key */
19
19
 
20
20
 
21
 
int heap_rprev(HP_INFO *info, unsigned char *record)
 
21
int heap_rprev(HP_INFO *info, uchar *record)
22
22
{
23
 
  unsigned char *pos;
 
23
  uchar *pos;
24
24
  HP_SHARE *share=info->s;
25
25
  HP_KEYDEF *keyinfo;
26
26
 
46
46
    if (pos)
47
47
    {
48
48
      memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos),
49
 
             sizeof(unsigned char*));
 
49
             sizeof(uchar*));
50
50
      info->current_ptr = pos;
51
51
    }
52
52
    else