MySQL 8.4.2
Source Code Documentation
|
Class to represent check constraint in the TABLE_SHARE. More...
#include <sql_check_constraint.h>
Public Member Functions | |
Sql_check_constraint_share ()=default | |
Sql_check_constraint_share (const LEX_CSTRING &name, const LEX_CSTRING &expr_str, bool is_enforced) | |
LEX_CSTRING & | name () |
Constraint name. More... | |
LEX_CSTRING & | expr_str () |
Check expression in string form. More... | |
bool | is_enforced () |
Check constraint state (enforced / not enforced) More... | |
Private Attributes | |
LEX_CSTRING | m_name {nullptr, 0} |
Check constraint name. More... | |
LEX_CSTRING | m_expr_str {nullptr, 0} |
Check constraint expression. More... | |
bool | m_is_enforced {true} |
Check constraint state. More... | |
Class to represent check constraint in the TABLE_SHARE.
The instance of Sql_check_constraint_share contains information as name, state and expression in string form. This information is obtained from the data-dictionary. The check expression is not in itemized (materialized) form here.
|
default |
|
inline |
|
inline |
Check expression in string form.
|
inline |
Check constraint state (enforced / not enforced)
|
inline |
Constraint name.
|
private |
Check constraint expression.
|
private |
Check constraint state.
|
private |
Check constraint name.