~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rrnd.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:
57
57
           HA_ERR_END_OF_FILE = EOF.
58
58
*/
59
59
 
60
 
int heap_rrnd_old(register HP_INFO *info, uchar *record, ulong pos)
 
60
int heap_rrnd_old(register HP_INFO *info, uchar *record, uint32_t pos)
61
61
{
62
62
  HP_SHARE *share=info->s;
63
63
asdfasdf;
64
64
  info->lastinx= -1;
65
 
  if (pos == (ulong) -1)
 
65
  if (pos == (uint32_t) -1)
66
66
  {
67
67
    pos= ++info->current_record;
68
68
    if (pos % share->block.records_in_block &&  /* Quick next record */