~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rprev.c

  • Committer: Brian Aker
  • Date: 2008-09-04 19:31:00 UTC
  • Revision ID: brian@tangent.org-20080904193100-l849hgghfy4urj43
Changing default character set from this point on.

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