MySQL 9.0.0
Source Code Documentation
sort_param.h File Reference
#include <assert.h>
#include <algorithm>
#include "field_types.h"
#include "my_base.h"
#include "my_byteorder.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "mysql_com.h"
#include "sql/mem_root_array.h"
#include "sql/sql_array.h"
#include "sql/sql_const.h"
#include "sql/sql_sort.h"
#include "sql/thr_malloc.h"
#include "sql_string.h"

Go to the source code of this file.

Classes

struct  st_sort_field
 Struct that holds information about a sort field. More...
 
struct  Sort_addon_field
 The structure Sort_addon_field describes the layout for field values appended to sorted values in records to be sorted in the sort buffer. More...
 
class  Addon_fields
 This class wraps information about usage of addon fields. More...
 
class  Sort_param
 There are several record formats for sorting: More...
 

Typedefs

typedef Bounds_checked_array< Sort_addon_fieldAddon_fields_array
 

Enumerations

enum class  Addon_fields_status {
  unknown_status , using_addon_fields , fulltext_searched , keep_rowid ,
  row_not_packable , row_contains_blob , skip_heuristic , using_priority_queue
}
 

Functions

const char * addon_fields_text (Addon_fields_status afs)
 
ucharget_start_of_payload (const Filesort_info *fsi, uchar *p)
 
bool using_packed_addons (const Filesort_info *fsi)
 Are we using "packed addon fields"? More...
 

Typedef Documentation

◆ Addon_fields_array

Enumeration Type Documentation

◆ Addon_fields_status

enum class Addon_fields_status
strong
Enumerator
unknown_status 
using_addon_fields 
fulltext_searched 
keep_rowid 
row_not_packable 
row_contains_blob 
skip_heuristic 
using_priority_queue 

Function Documentation

◆ addon_fields_text()

const char * addon_fields_text ( Addon_fields_status  afs)
inline

◆ get_start_of_payload()

uchar * get_start_of_payload ( const Filesort_info fsi,
uchar p 
)
inline

◆ using_packed_addons()

bool using_packed_addons ( const Filesort_info fsi)
inline

Are we using "packed addon fields"?