16 #ifndef FILESORT_INCLUDED 
   17 #define FILESORT_INCLUDED 
   21 #include "my_global.h"                           
   27 typedef struct st_sort_field SORT_FIELD;
 
   63   uint make_sortorder();
 
   70                  ha_rows *examined_rows, ha_rows *found_rows);
 
   71 void filesort_free_buffers(
TABLE *
table, 
bool full);
 
   72 void change_double_for_sort(
double nr,uchar *
to);
 
   78 uint 
sortlength(THD *thd, SORT_FIELD *sortorder, uint s_length,
 
   79                 bool *multi_byte_charset);