~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/myisamchk.c

MergedĀ fromĀ Mats.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1411
1411
  SORT_INFO sort_info;
1412
1412
  MI_SORT_PARAM sort_param;
1413
1413
 
1414
 
  memset((char*)&sort_info, 0, sizeof(sort_info));
1415
 
  memset((char*)&sort_param, 0, sizeof(sort_param));
 
1414
  memset(&sort_info, 0, sizeof(sort_info));
 
1415
  memset(&sort_param, 0, sizeof(sort_param));
1416
1416
  sort_param.sort_info=&sort_info;
1417
1417
  sort_info.param=param;
1418
1418
  keyinfo= &share->keyinfo[sort_key];
1638
1638
      goto err;
1639
1639
  }
1640
1640
  /* Clear end of block to get better compression if the table is backuped */
1641
 
  memset((uchar*) buff+used_length, 0, keyinfo->block_length-used_length);
 
1641
  memset(buff+used_length, 0, keyinfo->block_length-used_length);
1642
1642
  if (my_pwrite(info->s->kfile,(uchar*) buff,(uint) keyinfo->block_length,
1643
1643
                page,param->myf_rw))
1644
1644
  {