~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_search.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:
44
44
    info->update= ((info->update & (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED)) |
45
45
                   HA_STATE_NEXT_FOUND | HA_STATE_PREV_FOUND);
46
46
  }
47
 
  if (info->opt_flag & WRITE_CACHE_USED && flush_io_cache(&info->rec_cache))
 
47
  if (info->opt_flag & WRITE_CACHE_USED && info->rec_cache.flush())
48
48
    return(-1);
49
49
  return(inx);
50
50
} /* mi_check_index */