23#ifndef SQL_RANGE_OPTIMIZER_RANGE_OPT_PARAM_H_
24#define SQL_RANGE_OPTIMIZER_RANGE_OPT_PARAM_H_
This class represents a query block, aka a query specification, which is a query consisting of a SELE...
Definition: sql_lex.h:1162
Definition: range_opt_param.h:28
Query_block * query_block
Definition: range_opt_param.h:31
uint keys
Definition: range_opt_param.h:54
uint * real_keynr
Definition: range_opt_param.h:68
bool use_index_statistics
Whether index statistics or index dives should be used when estimating the number of rows in an equal...
Definition: range_opt_param.h:75
TABLE * table
Definition: range_opt_param.h:30
Range_optimizer_error_handler error_handler
Error handler for this param.
Definition: range_opt_param.h:79
KEY_PART * key_parts_end
Definition: range_opt_param.h:35
KEY_PART ** key
Definition: range_opt_param.h:83
bool has_errors() const
Definition: range_opt_param.h:81
bool using_real_indexes
Definition: range_opt_param.h:62
MEM_ROOT * return_mem_root
Definition: range_opt_param.h:44
KEY_PART * key_parts
Definition: range_opt_param.h:34
MEM_ROOT * temp_mem_root
Definition: range_opt_param.h:49
Error handling class for range optimizer.
Definition: internal.h:74
bool has_errors() const
Definition: internal.h:102
Definition: range_optimizer.h:54
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:82