~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_sort.c

  • Committer: Andy Lester
  • Date: 2008-08-10 02:05:30 UTC
  • mto: (266.1.31 use-replace-funcs)
  • mto: This revision was merged to the branch mainline in revision 295.
  • Revision ID: andy@petdance.com-20080810020530-mtg31zr4h04syjey
use NULL, not 0

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
void my_string_ptr_sort(uchar *base, uint items, size_t size)
22
22
{
23
23
#if INT_MAX > 65536L
24
 
  uchar **ptr=0;
 
24
  uchar **ptr= NULL;
25
25
 
26
26
  if (size <= 20 && items >= 1000 && items < 100000 &&
27
27
      (ptr= (uchar**) my_malloc(items*sizeof(char*),MYF(0))))