~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_statrec.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-13 18:31:31 UTC
  • mto: This revision was merged to the branch mainline in revision 2407.
  • Revision ID: olafvdspek@gmail.com-20110813183131-tvp5kxqo9l4z82eo
Refactor iocache

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
    return(errno);
206
206
  if (info->opt_flag & READ_CACHE_USED)
207
207
  {                                             /* Cache in use */
208
 
    if (filepos == my_b_tell(&info->rec_cache) &&
 
208
    if (filepos == info->rec_cache.tell() &&
209
209
        (skip_deleted_blocks || !filepos))
210
210
    {
211
211
      cache_read=1;                             /* Read record using cache */