~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_qsort.cc

  • Committer: Brian Aker
  • Date: 2010-10-20 20:25:52 UTC
  • mto: (1864.2.1 merge)
  • mto: This revision was merged to the branch mainline in revision 1865.
  • Revision ID: brian@tangent.org-20101020202552-51y5sz5ledoxbp7t
Add support for --with-valgrind

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
  low  = (char*) base_ptr;
110
110
  high = low+ size * (count - 1);
111
111
  stack_ptr = stack + 1;
112
 
#ifdef HAVE_purify
 
112
#ifdef HAVE_VALGRIND
113
113
  /* The first element in the stack will be accessed for the last POP */
114
114
  stack[0].low=stack[0].high=0;
115
115
#endif