~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_sort.h

merged with latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  void *key_compare_arg;
82
82
};
83
83
 
84
 
typedef struct st_sort_param {
 
84
struct st_sort_param {
85
85
  uint32_t rec_length;          /* Length of sorted records */
86
86
  uint32_t sort_length;                 /* Length of sorted columns */
87
87
  uint32_t ref_length;                  /* Length of record ref. */
99
99
  /* The fields below are used only by Unique class */
100
100
  qsort2_cmp compare;
101
101
  BUFFPEK_COMPARE_CONTEXT cmp_context;
102
 
} SORTPARAM;
 
102
};
 
103
 
 
104
typedef struct st_sort_param SORTPARAM;
103
105
 
104
106
 
105
107
int merge_many_buff(SORTPARAM *param, unsigned char *sort_buffer,