~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_open.c

  • Committer: Monty Taylor
  • Date: 2008-12-08 10:34:49 UTC
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081208103449-4rz1ffja67yfcdgc
Removed my_seek, my_tell, my_fwrite, my_fseek.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
    end_pos=disk_cache+info_length;
150
150
    errpos=2;
151
151
 
152
 
    my_seek(kfile,0L,MY_SEEK_SET,MYF(0));
 
152
    lseek(kfile,0,SEEK_SET);
153
153
    errpos=3;
154
154
    if (my_read(kfile,disk_cache,info_length,MYF(MY_NABP)))
155
155
    {
544
544
} /* mi_open */
545
545
 
546
546
 
547
 
unsigned char *mi_alloc_rec_buff(MI_INFO *info, ulong length, unsigned char **buf)
 
547
unsigned char *mi_alloc_rec_buff(MI_INFO *info, size_t length, unsigned char **buf)
548
548
{
549
549
  uint32_t extra;
550
550
  uint32_t old_length= 0;