~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_scan.c

  • Committer: Stewart Smith
  • Date: 2009-01-12 05:43:13 UTC
  • mto: (784.1.4 for-brian)
  • mto: This revision was merged to the branch mainline in revision 785.
  • Revision ID: stewart@flamingspork.com-20090112054313-edk6kpf4l6kpz4j7
fix archive_basic for drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
int heap_scan_init(register HP_INFO *info)
28
28
{
29
29
  info->lastinx= -1;
30
 
  info->current_record= (uint32_t) ~0L;         /* No current record */
 
30
  info->current_record= UINT32_MAX;             /* No current record */
31
31
  info->update=0;
32
32
  info->next_block=0;
33
33
  return(0);
34
34
}
35
35
 
36
 
int heap_scan(register HP_INFO *info, uchar *record)
 
36
int heap_scan(register HP_INFO *info, unsigned char *record)
37
37
{
38
38
  HP_SHARE *share=info->s;
39
39
  uint32_t pos;