~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_panic.cc

  • Committer: Brian Aker
  • Date: 2010-11-06 19:38:41 UTC
  • mto: This revision was merged to the branch mainline in revision 1910.
  • Revision ID: brian@tangent.org-20101106193841-exc9cc3qc515zhev
Encapsulation of IO_CACHE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
      {
58
58
        if (flush_io_cache(&info->rec_cache))
59
59
          error=errno;
60
 
        reinit_io_cache(&info->rec_cache,internal::READ_CACHE,0,
61
 
                       (bool) (info->lock_type != F_UNLCK),1);
 
60
        info->rec_cache.reinit_io_cache(internal::READ_CACHE,0, (bool) (info->lock_type != F_UNLCK),1);
62
61
      }
63
62
      if (info->lock_type != F_UNLCK && ! info->was_locked)
64
63
      {