|
| PT_check_constraint_column_attr (const POS &pos, LEX_STRING &name, Item *expr) |
|
bool | set_constraint_enforcement (bool enforced) override |
| Update the ENFORCED/NOT ENFORCED state of the CHECK constraint. More...
|
|
void | apply_alter_info_flags (ulonglong *flags) const override |
|
bool | add_check_constraints (Sql_check_constraint_spec_list *check_const_list) override |
|
bool | do_contextualize (Column_parse_context *pc) override |
| Do all context-sensitive things and mark the node as contextualized. More...
|
|
enum Attr_type | attr_type () const override |
|
Public Member Functions inherited from PT_column_attr_base |
virtual void | apply_type_flags (ulong *) const |
|
virtual void | apply_comment (LEX_CSTRING *) const |
|
virtual void | apply_default_value (Item **) const |
|
virtual void | apply_gen_default_value (Value_generator **) |
|
virtual void | apply_on_update_value (Item **) const |
|
virtual void | apply_srid_modifier (std::optional< gis::srid_t > *) const |
|
virtual bool | apply_collation (Column_parse_context *, const CHARSET_INFO **to, bool *has_explicit_collation) const |
|
virtual bool | has_constraint_enforcement () const |
| Check for the [NOT] ENFORCED characteristic. More...
|
|
virtual bool | is_constraint_enforced () const |
| Check if constraint is enforced. More...
|
|
virtual | ~Parse_tree_node_tmpl ()=default |
|
bool | is_contextualized () const |
|
void | set_contextualized () |
|
virtual bool | contextualize (Column_parse_context *pc) final |
|
void | error (Column_parse_context *pc, const POS &pos) const |
| syntax_error() function replacement for deferred reporting of syntax errors More...
|
|
void | error (Column_parse_context *pc, const POS &pos, const char *msg) const |
| syntax_error() function replacement for deferred reporting of syntax errors More...
|
|
void | errorf (Column_parse_context *pc, const POS &pos, const char *format,...) const |
| syntax_error() function replacement for deferred reporting of syntax errors More...
|
|
|
Public Types inherited from PT_column_attr_base |
enum | Attr_type {
AT_NONE
, AT_COLLATE_COLUMN_ATTR
, AT_DEFAULT_COLUMN_ATTR
, AT_GENERATED_DEFAULT_VAL_COLUMN_ATTR
,
AT_SECONDARY_COLUMN_ATTR
, AT_NOT_NULL_COLUMN_ATTR
, AT_NULL_COLUMN_ATTR
, AT_UNIQUE_KEY_COLUMN_ATTR
,
AT_PRIMARY_KEY_COLUMN_ATTR
, AT_CHECK_CONSTRAINT_COLUMN_ATTR
, AT_CONSTRAINT_ENFORCEMENT_ATTR
, AT_COMMENT_COLUMN_ATTR
,
AT_ON_UPDATE_COLUMN_ATTR
, AT_AUTO_INCREMENT_COLUMN_ATTR
, AT_SERIAL_DEFAULT_VALUE_COLUMN_ATTR
, AT_COLUMN_FORMAT_COLUMN_ATTR
,
AT_STORAGE_MEDIA_COLUMN_ATTR
, AT_SRID_COLUMN_ATTR
, AT_COLUMN_VISIBILITY_ATTR
} |
|
typedef decltype(Alter_info::flags) | alter_info_flags_t |
|
typedef Column_parse_context | context_t |
|
static void * | operator new (size_t size, MEM_ROOT *mem_root, const std::nothrow_t &arg=std::nothrow) noexcept |
|
static void | operator delete (void *ptr, size_t size) |
|
static void | operator delete (void *, MEM_ROOT *, const std::nothrow_t &) noexcept |
|
POS | m_pos |
|
Protected Member Functions inherited from PT_column_attr_base |
| PT_column_attr_base (const POS &pos) |
|
| Parse_tree_node_tmpl ()=delete |
|
| Parse_tree_node_tmpl (const POS &pos) |
|
| Parse_tree_node_tmpl (const POS &start_pos, const POS &end_pos) |
|
bool | begin_parse_tree (Show_parse_tree *tree) |
|
bool | end_parse_tree (Show_parse_tree *tree) |
|
virtual void | add_json_info (Json_object *json_obj) |
| Add all the node-specific json fields. More...
|
|
Node for the [CONSTRAINT [symbol]] CHECK '(' expr ')' column attribute.