~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_radix.cc

pandora-build v0.71. Added check for avahi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
  2-3 times faster than quicksort
21
21
*/
22
22
 
23
 
#include "mysys_priv.h"
 
23
#include "mysys/mysys_priv.h"
24
24
#include <mystrings/m_string.h>
25
25
 
26
26
        /* Radixsort */
27
27
 
28
 
void radixsort_for_str_ptr(uchar **base, uint number_of_elements, size_t size_of_element, uchar **buffer)
 
28
void radixsort_for_str_ptr(unsigned char **base, uint32_t number_of_elements, size_t size_of_element, unsigned char **buffer)
29
29
{
30
 
  uchar **end,**ptr,**buffer_ptr;
 
30
  unsigned char **end,**ptr,**buffer_ptr;
31
31
  uint32_t *count_ptr,*count_end,count[256];
32
32
  int pass;
33
33