~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_scan.c

  • Committer: Monty Taylor
  • Date: 2008-08-10 16:52:18 UTC
  • mfrom: (293 drizzle)
  • mto: (312.1.3 translations)
  • mto: This revision was merged to the branch mainline in revision 295.
  • Revision ID: monty@inaugust.com-20080810165218-jlekj1n46oyx9sih
MergedĀ fromĀ trunk.

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)