~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_rrnd.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-13 15:57:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2407.
  • Revision ID: olafvdspek@gmail.com-20110813155732-jrr1aq3gyeyxl9qv
Move flush() into iocache

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
  /* Init all but update-flag */
54
54
  info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);
55
55
 
56
 
  if (info->opt_flag & WRITE_CACHE_USED && flush_io_cache(&info->rec_cache))
 
56
  if (info->opt_flag & WRITE_CACHE_USED && info->rec_cache.flush())
57
57
    return(errno);
58
58
 
59
59
  return ((*info->s->read_rnd)(info,buf,filepos,skip_deleted_blocks));