~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/records.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:
469
469
      return ((int) error);
470
470
    }
471
471
    length=info->rec_cache_size;
472
 
    rest_of_file= info->io_cache->end_of_file - my_b_tell(info->io_cache);
 
472
    rest_of_file= info->io_cache->end_of_file - info->io_cache->tell();
473
473
    if ((internal::my_off_t) length > rest_of_file)
474
474
    {
475
475
      length= (uint32_t) rest_of_file;