~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_scan.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:
21
21
{
22
22
  info->nextpos=info->s->pack.header_length;    /* Read first record */
23
23
  info->lastinx= -1;                            /* Can't forward or backward */
24
 
  if (info->opt_flag & WRITE_CACHE_USED && flush_io_cache(&info->rec_cache))
 
24
  if (info->opt_flag & WRITE_CACHE_USED && info->rec_cache.flush())
25
25
    return(errno);
26
26
  return(0);
27
27
}