17
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
21
#ifndef DRIZZLED_FILESORT_INFO_H
21
22
#define DRIZZLED_FILESORT_INFO_H
26
28
/* Information on state of filesort */
29
32
internal::IO_CACHE *io_cache; /* If sorted through filesort */
30
33
unsigned char **sort_keys; /* Buffer for sorting keys */
31
34
unsigned char *buffpek; /* Buffer for buffpek structures */
32
35
uint32_t buffpek_len; /* Max number of buffpeks in the buffer */
33
36
unsigned char *addon_buf; /* Pointer to a buffer if sorted with fields */
34
37
size_t addon_length; /* Length of the buffer */
37
40
unsigned char *record_pointers; /* If sorted in memory */
38
41
ha_rows found_records; /* How many records in sort */