![]() |
MySQL 8.0.43
Source Code Documentation
|
Structure used for index-based lookups. More...
#include <sql_opt_exec_shared.h>
Public Member Functions | |
| Index_lookup () | |
| bool | impossible_null_ref () const |
| bool | has_guarded_conds () const |
| Check if there are triggered/guarded conditions that might be 'switched off' by the subquery code when executing 'Full scan on NULL key' subqueries. More... | |
Public Attributes | |
| bool | key_err |
| uint | key_parts |
| num of ... More... | |
| uint | key_length |
| length of key_buff More... | |
| int | key |
| key no More... | |
| uchar * | key_buff |
| value to look for with key More... | |
| uchar * | key_buff2 |
| key_buff+key_length More... | |
| store_key ** | key_copy |
| Used to store the value from each keypart field. More... | |
| Item ** | items |
| val()'s for each keypart More... | |
| bool ** | cond_guards |
| key_part_map | null_rejecting |
| table_map | depend_map |
| Table depends on these tables. More... | |
| uchar * | null_ref_key |
| ha_rows | use_count |
| bool | disable_cache |
| ulonglong * | keypart_hash = nullptr |
Structure used for index-based lookups.
|
inline |
|
inline |
Check if there are triggered/guarded conditions that might be 'switched off' by the subquery code when executing 'Full scan on NULL key' subqueries.
|
inline |
| bool** Index_lookup::cond_guards |
| table_map Index_lookup::depend_map |
Table depends on these tables.
| bool Index_lookup::disable_cache |
| Item** Index_lookup::items |
val()'s for each keypart
| int Index_lookup::key |
key no
| uchar* Index_lookup::key_buff |
value to look for with key
| uchar* Index_lookup::key_buff2 |
key_buff+key_length
| store_key** Index_lookup::key_copy |
Used to store the value from each keypart field.
These values are used for ref access. If key_copy[key_part] == NULL it means that the value is constant and does not need to be reevaluated
| bool Index_lookup::key_err |
| uint Index_lookup::key_length |
length of key_buff
| uint Index_lookup::key_parts |
num of ...
| uchar* Index_lookup::null_ref_key |
| key_part_map Index_lookup::null_rejecting |
means the condition is '=' and no matching rows will be produced if items[i] IS NULL (see add_not_null_conds())
| ha_rows Index_lookup::use_count |