~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_radix.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:
34
34
  end=base+number_of_elements; count_end=count+256;
35
35
  for (pass=(int) size_of_element-1 ; pass >= 0 ; pass--)
36
36
  {
37
 
    bzero((uchar*) count,sizeof(uint32_t)*256);
 
37
    memset((uchar*) count, 0, sizeof(uint32_t)*256);
38
38
    for (ptr= base ; ptr < end ; ptr++)
39
39
      count[ptr[0][pass]]++;
40
40
    if (count[0] == number_of_elements)