44 unsigned char **sort_keys,
55 unsigned char *sort_buffer,
66 uint32_t sort_length);
81 bool sort_positions, ha_rows &examined_rows);
int merge_many_buff(SortParam *param, unsigned char *sort_buffer, buffpek *buffpek, uint32_t *maxbuffer, internal::io_cache_st *t_file)
ha_rows find_all_keys(SortParam *param, optimizer::SqlSelect *select, unsigned char **sort_keys, internal::io_cache_st *buffpek_pointers, internal::io_cache_st *tempfile, internal::io_cache_st *indexfile)
sort_addon_field * get_addon_fields(Field **ptabfield, uint32_t sortlength, uint32_t *plength)
int merge_buffers(SortParam *param, internal::io_cache_st *from_file, internal::io_cache_st *to_file, unsigned char *sort_buffer, buffpek *lastbuff, buffpek *Fb, buffpek *Tb, int flag)
ha_rows run(Table *table, SortField *sortorder, uint32_t s_length, optimizer::SqlSelect *select, ha_rows max_rows, bool sort_positions, ha_rows &examined_rows)
uint32_t sortlength(SortField *sortorder, uint32_t s_length, bool *multi_byte_charset)
uint32_t read_to_buffer(internal::io_cache_st *fromfile, buffpek *buffpek, uint32_t sort_length)