24#ifndef SQL_RANGE_OPTIMIZER_RANGE_OPT_PARAM_H_
25#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:1163
Definition: range_opt_param.h:29
Query_block * query_block
Definition: range_opt_param.h:32
uint keys
Definition: range_opt_param.h:55
uint * real_keynr
Definition: range_opt_param.h:69
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:76
TABLE * table
Definition: range_opt_param.h:31
Range_optimizer_error_handler error_handler
Error handler for this param.
Definition: range_opt_param.h:80
KEY_PART * key_parts_end
Definition: range_opt_param.h:36
KEY_PART ** key
Definition: range_opt_param.h:84
bool has_errors() const
Definition: range_opt_param.h:82
bool using_real_indexes
Definition: range_opt_param.h:63
MEM_ROOT * return_mem_root
Definition: range_opt_param.h:45
KEY_PART * key_parts
Definition: range_opt_param.h:35
MEM_ROOT * temp_mem_root
Definition: range_opt_param.h:50
Error handling class for range optimizer.
Definition: internal.h:75
bool has_errors() const
Definition: internal.h:103
Definition: range_optimizer.h:55
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83