~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_dynrec.c

  • Committer: Brian Aker
  • Date: 2008-12-09 17:33:02 UTC
  • mfrom: (656.1.54 devel)
  • Revision ID: brian@tangent.org-20081209173302-aptngvc7efxnatnt
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1792
1792
            block_info.filepos + block_info.data_len &&
1793
1793
            flush_io_cache(&info->rec_cache))
1794
1794
          goto err;
1795
 
        /* my_seek(info->dfile,filepos,MY_SEEK_SET,MYF(0)); */
 
1795
        /* lseek(info->dfile,filepos,SEEK_SET); */
1796
1796
        if (my_read(info->dfile,(unsigned char*) to,block_info.data_len,MYF(MY_NABP)))
1797
1797
        {
1798
1798
          if (my_errno == -1)
1845
1845
      pointer set to the end of the header after this function.
1846
1846
      my_pread() may leave the file pointer untouched.
1847
1847
    */
1848
 
    my_seek(file,filepos,MY_SEEK_SET,MYF(0));
 
1848
    lseek(file,filepos,SEEK_SET);
1849
1849
    if (my_read(file, header, sizeof(info->header),MYF(0)) !=
1850
1850
        sizeof(info->header))
1851
1851
      goto err;