~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_qsort.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
do {                                                    \
42
42
   if (swap_ptrs)                                       \
43
43
   {                                                    \
44
 
     register char **a = (char**) (A), **b = (char**) (B);  \
 
44
     char **a = (char**) (A), **b = (char**) (B);  \
45
45
     char *tmp = *a; *a++ = *b; *b++ = tmp;             \
46
46
   }                                                    \
47
47
   else                                                 \
48
48
   {                                                    \
49
 
     register char *a = (A), *b = (B);                  \
50
 
     register char *end= a+size;                                \
 
49
     char *a = (A), *b = (B);                   \
 
50
     char *end= a+size;                         \
51
51
     do                                                 \
52
52
     {                                                  \
53
53
       char tmp = *a; *a++ = *b; *b++ = tmp;            \