MySQL 8.4.0
Source Code Documentation
Sort_addon_field Struct Reference

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...

#include <sort_param.h>

Public Attributes

Fieldfield
 
uint null_offset
 
uint max_length
 
uint8 null_bit
 

Detailed Description

The structure Sort_addon_field describes the layout for field values appended to sorted values in records to be sorted in the sort buffer.

Null bit maps for the appended values is placed before the values themselves. Offsets are from the last sorted field.

The structure is used to store values of the additional fields in the sort buffer. It is used also when these values are read from a temporary file/buffer in 'Filesort_info::unpack_addon_fields'.

Member Data Documentation

◆ field

Field* Sort_addon_field::field

◆ max_length

uint Sort_addon_field::max_length

◆ null_bit

uint8 Sort_addon_field::null_bit

◆ null_offset

uint Sort_addon_field::null_offset

The documentation for this struct was generated from the following file: