~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_extra.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:
150
150
  case HA_EXTRA_FLUSH_CACHE:
151
151
    if (info->opt_flag & WRITE_CACHE_USED)
152
152
    {
153
 
      if ((error=flush_io_cache(&info->rec_cache)))
 
153
      if ((error= info->rec_cache.flush()))
154
154
      {
155
155
        mi_print_error(info->s, HA_ERR_CRASHED);
156
156
        mi_mark_crashed(info);                  /* Fatal error found */