~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_sort.cc

  • Committer: Monty Taylor
  • Date: 2008-12-07 23:42:51 UTC
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081207234251-yxtbg06jpylwej29
Finally removed all of the my_malloc stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
  unsigned char **ptr= NULL;
25
25
 
26
26
  if (size <= 20 && items >= 1000 && items < 100000 &&
27
 
      (ptr= (unsigned char**) my_malloc(items*sizeof(char*),MYF(0))))
 
27
      (ptr= (unsigned char**) malloc(items*sizeof(char*))))
28
28
  {
29
29
    radixsort_for_str_ptr((unsigned char**) base,items,size,ptr);
30
30
    free((unsigned char*) ptr);