~skinny.moey/drizzle/innodb-replication

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_qsort.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 22:35:57 UTC
  • mfrom: (1802.1.114 trunk)
  • Revision ID: brian@tangent.org-20101108223557-w3xzwp9hjjtjhtc1
MergeĀ inĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
16
/*
17
17
  qsort implementation optimized for comparison of pointers
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