~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_scan.c

  • Committer: Brian Aker
  • Date: 2008-08-10 04:50:31 UTC
  • Revision ID: brian@tangent.org-20080810045031-8ak1sgfsfh8y2jse
HeadĀ ulongĀ conversion.

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= (ulong) ~0L;            /* No current record */
 
30
  info->current_record= (uint32_t) ~0L;         /* No current record */
31
31
  info->update=0;
32
32
  info->next_block=0;
33
33
  return(0);
36
36
int heap_scan(register HP_INFO *info, uchar *record)
37
37
{
38
38
  HP_SHARE *share=info->s;
39
 
  ulong pos;
 
39
  uint32_t pos;
40
40
 
41
41
  pos= ++info->current_record;
42
42
  if (pos < info->next_block)