MySQL 8.0.39
Source Code Documentation
RANGE_OPT_PARAM Class Reference

#include <range_opt_param.h>

Public Member Functions

bool has_errors () const
 

Public Attributes

TABLEtable
 
Query_blockquery_block
 
KEY_PARTkey_parts
 
KEY_PARTkey_parts_end
 
MEM_ROOTreturn_mem_root
 
MEM_ROOTtemp_mem_root
 
uint keys
 
bool using_real_indexes
 
uintreal_keynr = nullptr
 
bool use_index_statistics
 Whether index statistics or index dives should be used when estimating the number of rows in an equality range. More...
 
Range_optimizer_error_handler error_handler
 Error handler for this param. More...
 
KEY_PART ** key = nullptr
 

Member Function Documentation

◆ has_errors()

bool RANGE_OPT_PARAM::has_errors ( ) const
inline

Member Data Documentation

◆ error_handler

Range_optimizer_error_handler RANGE_OPT_PARAM::error_handler

Error handler for this param.

◆ key

KEY_PART** RANGE_OPT_PARAM::key = nullptr

◆ key_parts

KEY_PART* RANGE_OPT_PARAM::key_parts

◆ key_parts_end

KEY_PART* RANGE_OPT_PARAM::key_parts_end

◆ keys

uint RANGE_OPT_PARAM::keys

◆ query_block

Query_block* RANGE_OPT_PARAM::query_block

◆ real_keynr

uint* RANGE_OPT_PARAM::real_keynr = nullptr

◆ return_mem_root

MEM_ROOT* RANGE_OPT_PARAM::return_mem_root

◆ table

TABLE* RANGE_OPT_PARAM::table

◆ temp_mem_root

MEM_ROOT* RANGE_OPT_PARAM::temp_mem_root

◆ use_index_statistics

bool RANGE_OPT_PARAM::use_index_statistics

Whether index statistics or index dives should be used when estimating the number of rows in an equality range.

If true, index statistics is used for these indexes.

◆ using_real_indexes

bool RANGE_OPT_PARAM::using_real_indexes

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