~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_statrec.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:
53
53
      if (info->s->base.pack_reclength != info->s->base.reclength)
54
54
      {
55
55
        uint length=info->s->base.pack_reclength - info->s->base.reclength;
56
 
        bzero(temp,length);
 
56
        memset(temp, 0, length);
57
57
        if (my_b_write(&info->rec_cache, temp,length))
58
58
          goto err;
59
59
      }
68
68
      if (info->s->base.pack_reclength != info->s->base.reclength)
69
69
      {
70
70
        uint length=info->s->base.pack_reclength - info->s->base.reclength;
71
 
        bzero(temp,length);
 
71
        memset(temp, 0, length);
72
72
        if (info->s->file_write(info, temp,length,
73
73
                      info->state->data_file_length+
74
74
                      info->s->base.reclength,