|
drizzle
C++ MySQL-protocol-compatible database server
|
Public Member Functions | |
| int | write_keys (unsigned char **sort_keys, uint32_t count, internal::io_cache_st *buffer_file, internal::io_cache_st *tempfile) |
| void | make_sortkey (unsigned char *to, unsigned char *ref_pos) |
| void | register_used_fields () |
| void | save_index (unsigned char **sort_keys, uint32_t count, filesort_info *table_sort) |
Public Attributes | |
| uint32_t | rec_length |
| uint32_t | sort_length |
| uint32_t | ref_length |
| uint32_t | addon_length |
| uint32_t | res_length |
| uint32_t | keys |
| ha_rows | max_rows |
| ha_rows | examined_rows |
| Table * | sort_form |
| SortField * | local_sortorder |
| SortField * | end |
| sort_addon_field * | addon_field |
| unsigned char * | unique_buff |
| bool | not_killable |
| char * | tmp_buffer |
| qsort2_cmp | compare |
| BufferCompareContext | cmp_context |
Definition at line 77 of file filesort.cc.
|
inline |
Definition at line 97 of file filesort.cc.
|
inline |
Definition at line 117 of file filesort.cc.
| void drizzled::SortParam::make_sortkey | ( | unsigned char * | to, |
| unsigned char * | ref_pos ) |
Make a sort-key from record.
Definition at line 776 of file filesort.cc.
| void drizzled::SortParam::register_used_fields | ( | ) |
Definition at line 1012 of file filesort.cc.
| void drizzled::SortParam::save_index | ( | unsigned char ** | sort_keys, |
| uint32_t | count, | ||
| filesort_info * | table_sort ) |
Definition at line 1049 of file filesort.cc.
| int drizzled::SortParam::write_keys | ( | unsigned char ** | sort_keys, |
| uint32_t | count, | ||
| internal::io_cache_st * | buffpek_pointers, | ||
| internal::io_cache_st * | tempfile ) |
Sort the buffer and write:
a buffpek describing the sorted sequence position to buffpek_pointers
(was: Skriver en buffert med nycklar till filen)
| param | Sort parameters |
| sort_keys | Array of pointers to keys to sort |
| count | Number of elements in sort_keys array |
| buffpek_pointers | One 'buffpek' struct will be written into this file. The buffpek::{file_pos, count} will indicate where the sorted data was stored. |
| tempfile | The sorted sequence will be written into this file. |
| 0 | OK |
| 1 | Error |
Definition at line 711 of file filesort.cc.
| sort_addon_field* drizzled::SortParam::addon_field |
Definition at line 89 of file filesort.cc.
| uint32_t drizzled::SortParam::addon_length |
Definition at line 82 of file filesort.cc.
| BufferCompareContext drizzled::SortParam::cmp_context |
Definition at line 95 of file filesort.cc.
| qsort2_cmp drizzled::SortParam::compare |
Definition at line 94 of file filesort.cc.
| SortField* drizzled::SortParam::end |
Definition at line 88 of file filesort.cc.
| ha_rows drizzled::SortParam::examined_rows |
Definition at line 85 of file filesort.cc.
| uint32_t drizzled::SortParam::keys |
Definition at line 84 of file filesort.cc.
| SortField* drizzled::SortParam::local_sortorder |
Definition at line 87 of file filesort.cc.
| ha_rows drizzled::SortParam::max_rows |
Definition at line 85 of file filesort.cc.
| bool drizzled::SortParam::not_killable |
Definition at line 91 of file filesort.cc.
| uint32_t drizzled::SortParam::rec_length |
Definition at line 79 of file filesort.cc.
| uint32_t drizzled::SortParam::ref_length |
Definition at line 81 of file filesort.cc.
| uint32_t drizzled::SortParam::res_length |
Definition at line 83 of file filesort.cc.
| Table* drizzled::SortParam::sort_form |
Definition at line 86 of file filesort.cc.
| uint32_t drizzled::SortParam::sort_length |
Definition at line 80 of file filesort.cc.
| char* drizzled::SortParam::tmp_buffer |
Definition at line 92 of file filesort.cc.
| unsigned char* drizzled::SortParam::unique_buff |
Definition at line 90 of file filesort.cc.