~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/unireg.cc

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
 
241
241
  int2store(fileinfo+59,db_file->extra_rec_buf_length());
242
242
 
243
 
  if (my_pwrite(file, fileinfo, 64, 0L, MYF_RW) ||
244
 
      my_pwrite(file, keybuff, key_info_length,
245
 
                (ulong) uint2korr(fileinfo+6),MYF_RW))
 
243
  if (pwrite(file, fileinfo, 64, 0L) == 0 ||
 
244
      pwrite(file, keybuff, key_info_length, (ulong) uint2korr(fileinfo+6)) == 0)
246
245
    goto err;
247
246
  VOID(my_seek(file,
248
247
               (ulong) uint2korr(fileinfo+6)+ (ulong) key_buff_length,