~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_iocache.cc

  • Committer: Monty
  • Date: 2008-12-02 00:15:14 UTC
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: mordred@palanthas.inaugust.com-20081202001514-2tdvvursqsub7c04
Finished fixing my_tell.

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
 
168
168
  if (file >= 0)
169
169
  {
170
 
    pos= my_tell(file, MYF(0));
 
170
    pos= my_tell(file);
171
171
    if ((pos == (my_off_t) -1) && (my_errno == ESPIPE))
172
172
    {
173
173
      /*
1670
1670
      else
1671
1671
      {
1672
1672
        info->end_of_file+=(info->write_pos-info->append_read_pos);
1673
 
        assert(info->end_of_file == my_tell(info->file,MYF(0)));
 
1673
        my_off_t tell_ret= my_tell(info->file);
 
1674
        assert(info->end_of_file == tell_ret);
1674
1675
      }
1675
1676
 
1676
1677
      info->append_read_pos=info->write_pos=info->write_buffer;