MySQL 9.1.0
Source Code Documentation
Ha_fk_column_type Struct Reference

Column type description for foreign key columns compatibility check. More...

#include <handler.h>

Public Attributes

dd::enum_column_types type
 
size_t char_length
 
const CHARSET_INFOfield_charset
 
size_t elements_count
 
uint numeric_scale
 
bool is_unsigned
 

Detailed Description

Column type description for foreign key columns compatibility check.

Contains subset of information from dd::Column class. It is inconvenient to use dd::Column class directly for such checks because it requires valid dd::Table object and in some cases we want to produce Ha_fk_column_type right from column description in Create_field format.

Member Data Documentation

◆ char_length

size_t Ha_fk_column_type::char_length

◆ elements_count

size_t Ha_fk_column_type::elements_count

◆ field_charset

const CHARSET_INFO* Ha_fk_column_type::field_charset

◆ is_unsigned

bool Ha_fk_column_type::is_unsigned

◆ numeric_scale

uint Ha_fk_column_type::numeric_scale

◆ type

dd::enum_column_types Ha_fk_column_type::type

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