MySQL 8.0.39
Source Code Documentation
filesort_utils.cc File Reference
#include "sql/filesort_utils.h"
#include <string.h>
#include <algorithm>
#include <cmath>
#include "add_with_saturate.h"
#include "my_dbug.h"
#include "my_io.h"
#include "my_pointer_arithmetic.h"
#include "sql/cmp_varlen_keys.h"
#include "sql/opt_costmodel.h"
#include "sql/sort_param.h"
#include "sql/sql_sort.h"
#include "sql/thr_malloc.h"

Classes

class  anonymous_namespace{filesort_utils.cc}::Mem_compare
 
class  anonymous_namespace{filesort_utils.cc}::Mem_compare_longkey
 
class  anonymous_namespace{filesort_utils.cc}::Mem_compare_varlen_key
 
class  anonymous_namespace{filesort_utils.cc}::Equality_from_less< Comp >
 

Namespaces

namespace  anonymous_namespace{filesort_utils.cc}
 

Macros

#define COMPARE(N)    if (s1[N] != s2[N]) return s1[N] < s2[N]
 

Functions

bool anonymous_namespace{filesort_utils.cc}::my_mem_compare (const uchar *s1, const uchar *s2, size_t len)
 
bool anonymous_namespace{filesort_utils.cc}::my_mem_compare_longkey (const uchar *s1, const uchar *s2, size_t len)
 

Variables

PSI_memory_key key_memory_Filesort_buffer_sort_keys
 

Macro Definition Documentation

◆ COMPARE

#define COMPARE (   N)     if (s1[N] != s2[N]) return s1[N] < s2[N]

Variable Documentation

◆ key_memory_Filesort_buffer_sort_keys

PSI_memory_key key_memory_Filesort_buffer_sort_keys