~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_dynrec.c

  • Committer: Brian Aker
  • Date: 2008-07-29 07:47:38 UTC
  • mfrom: (212.6.1 bzero-memset)
  • Revision ID: brian@tangent.org-20080729074738-lfzim6htapm42f2o
MergeĀ fromĀ Mats

Show diffs side-by-side

added added

removed removed

Lines of Context:
682
682
  del_length=(res_length ? MI_DYN_DELETE_BLOCK_HEADER : 0);
683
683
  bmove((uchar*) (*record-head_length),(uchar*) temp,head_length);
684
684
  memcpy(temp,record_end,(size_t) (extra_length+del_length));
685
 
  bzero((uchar*) record_end,extra_length);
 
685
  memset((uchar*) record_end, 0, extra_length);
686
686
 
687
687
  if (res_length)
688
688
  {
1217
1217
      if (flag & bit)
1218
1218
      {
1219
1219
        if (type == FIELD_BLOB || type == FIELD_SKIP_ZERO)
1220
 
          bzero((uchar*) to,rec_length);
 
1220
          memset((uchar*) to, 0, rec_length);
1221
1221
        else if (type == FIELD_SKIP_ENDSPACE ||
1222
1222
                 type == FIELD_SKIP_PRESPACE)
1223
1223
        {