MySQL 8.4.3
Source Code Documentation
|
#include <key_spec.h>
Public Member Functions | |
Key_spec (MEM_ROOT *mem_root, keytype type_par, const LEX_CSTRING &name_arg, const KEY_CREATE_INFO *key_info_arg, bool generated_arg, bool check_for_duplicate_indexes_arg, List< Key_part_spec > &cols) | |
virtual | ~Key_spec ()=default |
Public Attributes | |
const keytype | type |
const KEY_CREATE_INFO | key_create_info |
Mem_root_array< Key_part_spec * > | columns |
LEX_CSTRING | name |
const bool | generated |
const bool | check_for_duplicate_indexes |
A flag to determine if we will check for duplicate indexes. More... | |
|
inline |
|
virtualdefault |
const bool Key_spec::check_for_duplicate_indexes |
A flag to determine if we will check for duplicate indexes.
This typically means that the key information was specified directly by the user (set by the parser) or a column associated with it was dropped.
Mem_root_array<Key_part_spec *> Key_spec::columns |
const bool Key_spec::generated |
const KEY_CREATE_INFO Key_spec::key_create_info |
LEX_CSTRING Key_spec::name |
const keytype Key_spec::type |