~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_write.c

Merged build changes from Antony.

Show diffs side-by-side

added added

removed removed

Lines of Context:
411
411
      my_errno=HA_ERR_CRASHED;
412
412
      return(-1);
413
413
    }
414
 
    bmove(key_pos,key_pos-t_length,(uint) (endpos-key_pos)+t_length);
 
414
    memcpy(key_pos,key_pos-t_length,(uint) (endpos-key_pos)+t_length);
415
415
  }
416
416
  (*keyinfo->store_key)(keyinfo,key_pos,&s_temp);
417
417
  a_length+=t_length;
654
654
             (size_t) (length=new_left_length - left_length - k_length));
655
655
      pos=buff+2+length;
656
656
      memcpy((uchar*) father_key_pos,(uchar*) pos,(size_t) k_length);
657
 
      bmove((uchar*) buff+2,(uchar*) pos+k_length,new_right_length);
 
657
      memcpy((uchar*) buff+2,(uchar*) pos+k_length,new_right_length);
658
658
    }
659
659
    else
660
660
    {                                           /* Move keys -> buff */