MySQL 8.4.2
Source Code Documentation
|
Common types of the Optimizer, used by optimization and execution. More...
Go to the source code of this file.
Classes | |
struct | Index_lookup |
Structure used for index-based lookups. More... | |
class | QEP_shared |
Holds members common to JOIN_TAB and QEP_TAB. More... | |
class | QEP_shared_owner |
Owner of a QEP_shared; parent of JOIN_TAB and QEP_TAB. More... | |
Macros | |
#define | NO_PLAN_IDX (-2) |
undefined index More... | |
#define | PRE_FIRST_PLAN_IDX (-1) |
right before the first (first's index is 0) More... | |
Typedefs | |
using | plan_idx = int |
This represents the index of a JOIN_TAB/QEP_TAB in an array. More... | |
Enumerations | |
enum | join_type { JT_UNKNOWN , JT_SYSTEM , JT_CONST , JT_EQ_REF , JT_REF , JT_ALL , JT_RANGE , JT_INDEX_SCAN , JT_FT , JT_REF_OR_NULL , JT_INDEX_MERGE } |
enum | { REF_SLICE_ACTIVE = 0 , REF_SLICE_TMP1 , REF_SLICE_TMP2 , REF_SLICE_SAVED_BASE , REF_SLICE_WIN_1 } |
Symbolic slice numbers into JOIN's arrays ref_items, tmp_fields and tmp_all_fields. More... | |
Common types of the Optimizer, used by optimization and execution.
#define NO_PLAN_IDX (-2) |
undefined index
#define PRE_FIRST_PLAN_IDX (-1) |
right before the first (first's index is 0)
using plan_idx = int |
This represents the index of a JOIN_TAB/QEP_TAB in an array.
"plan_idx": "Plan Table Index". It is signed, because:
anonymous enum |
Symbolic slice numbers into JOIN's arrays ref_items, tmp_fields and tmp_all_fields.
See also the comments on JOIN::ref_items.
enum join_type |