MySQL 8.3.0
Source Code Documentation
Derived_key Class Reference

This structure is used to keep info about possible key for the result table of a derived table/view. More...

#include <table.h>

Public Attributes

table_map referenced_by
 
Field_map used_fields
 
uint key_part_count {0}
 

Detailed Description

This structure is used to keep info about possible key for the result table of a derived table/view.

The 'referenced_by' is the table map of tables to which this possible key corresponds. The 'used_field' is a map of fields of which this key consists of. See also the comment for the Table_ref::update_derived_keys function.

Member Data Documentation

◆ key_part_count

uint Derived_key::key_part_count {0}

◆ referenced_by

table_map Derived_key::referenced_by

◆ used_fields

Field_map Derived_key::used_fields

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