~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_radix.cc

  • Committer: Brian Aker
  • Date: 2010-01-22 00:53:13 UTC
  • Revision ID: brian@gaz-20100122005313-jmizcbcdi1lt4tcx
Revert db patch.

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"
24
 
#include <mystrings/m_string.h>
 
23
#include "drizzled/internal/mysys_priv.h"
 
24
#include "drizzled/internal/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