~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_rrnd.c

  • Committer: Monty Taylor
  • Date: 2008-07-16 19:10:24 UTC
  • mfrom: (51.1.127 remove-dbug)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: monty@inaugust.com-20080716191024-prjgoh7fbri7rx26
MergedĀ fromĀ remove-dbug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
int mi_rrnd(MI_INFO *info, uchar *buf, register my_off_t filepos)
33
33
{
34
34
  my_bool skip_deleted_blocks;
35
 
  DBUG_ENTER("mi_rrnd");
36
35
 
37
36
  skip_deleted_blocks=0;
38
37
 
53
52
  info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);
54
53
 
55
54
  if (info->opt_flag & WRITE_CACHE_USED && flush_io_cache(&info->rec_cache))
56
 
    DBUG_RETURN(my_errno);
 
55
    return(my_errno);
57
56
 
58
 
  DBUG_RETURN ((*info->s->read_rnd)(info,buf,filepos,skip_deleted_blocks));
 
57
  return ((*info->s->read_rnd)(info,buf,filepos,skip_deleted_blocks));
59
58
}