~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_panic.cc

  • Committer: Mark Atwood
  • Date: 2011-08-17 19:14:47 UTC
  • mfrom: (2385.3.17 rf)
  • Revision ID: me@mark.atwood.name-20110817191447-h86yzddvycd0xmof
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
      if (flush_key_blocks(info->s->getKeyCache(), info->s->kfile, FLUSH_RELEASE))
52
52
        error=errno;
53
53
      if (info->opt_flag & WRITE_CACHE_USED)
54
 
        if (flush_io_cache(&info->rec_cache))
 
54
        if (info->rec_cache.flush())
55
55
          error=errno;
56
56
      if (info->opt_flag & READ_CACHE_USED)
57
57
      {
58
 
        if (flush_io_cache(&info->rec_cache))
 
58
        if (info->rec_cache.flush())
59
59
          error=errno;
60
60
        info->rec_cache.reinit_io_cache(internal::READ_CACHE,0, (bool) (info->lock_type != F_UNLCK),1);
61
61
      }