MySQL 8.3.0
Source Code Documentation
Merge_chunk_greater Struct Reference

This struct is used for merging chunks for filesort() For filesort() with fixed-size keys we use memcmp to compare rows. More...

#include <cmp_varlen_keys.h>

Public Member Functions

 Merge_chunk_greater (size_t len)
 
 Merge_chunk_greater (Sort_param *param)
 
bool operator() (Merge_chunk *a, Merge_chunk *b) const
 
bool key_is_greater_than (uchar *key1, uchar *key2) const
 

Public Attributes

size_t m_len
 
Sort_paramm_param
 

Detailed Description

This struct is used for merging chunks for filesort() For filesort() with fixed-size keys we use memcmp to compare rows.

For variable length keys, we use cmp_varlen_keys to compare rows.

Constructor & Destructor Documentation

◆ Merge_chunk_greater() [1/2]

Merge_chunk_greater::Merge_chunk_greater ( size_t  len)
inlineexplicit

◆ Merge_chunk_greater() [2/2]

Merge_chunk_greater::Merge_chunk_greater ( Sort_param param)
inlineexplicit

Member Function Documentation

◆ key_is_greater_than()

bool Merge_chunk_greater::key_is_greater_than ( uchar key1,
uchar key2 
) const
inline

◆ operator()()

bool Merge_chunk_greater::operator() ( Merge_chunk a,
Merge_chunk b 
) const
inline

Member Data Documentation

◆ m_len

size_t Merge_chunk_greater::m_len

◆ m_param

Sort_param* Merge_chunk_greater::m_param

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