24#ifndef DD_TABLES__CHECK_CONSTRAINTS_INCLUDED
25#define DD_TABLES__CHECK_CONSTRAINTS_INCLUDED
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Definition: object_key.h:38
Definition: object_table_impl.h:36
Definition: check_constraints.h:40
Check_constraints()
Definition: check_constraints.cc:54
static Object_key * create_key_by_table_id(Object_id table_id)
Definition: check_constraints.cc:89
static bool check_constraint_exists(THD *thd, Object_id schema_id, const String_type &check_cons_name, bool *exists)
Check if schema contains check constraints with specified name.
Definition: check_constraints.cc:105
static Object_key * create_key_by_check_constraint_name(Object_id schema_id, const String_type &check_cons_name)
Definition: check_constraints.cc:96
enum_foreign_keys
Definition: check_constraints.h:63
@ FK_SCHEMA_ID
Definition: check_constraints.h:63
@ FK_TABLE_ID
Definition: check_constraints.h:63
enum_fields
Definition: check_constraints.h:46
@ FIELD_SCHEMA_ID
Definition: check_constraints.h:48
@ FIELD_NAME
Definition: check_constraints.h:50
@ FIELD_CHECK_CLAUSE
Definition: check_constraints.h:52
@ FIELD_CHECK_CLAUSE_UTF8
Definition: check_constraints.h:53
@ FIELD_TABLE_ID
Definition: check_constraints.h:49
@ FIELD_ID
Definition: check_constraints.h:47
@ NUMBER_OF_FIELDS
Definition: check_constraints.h:54
@ FIELD_ENFORCED
Definition: check_constraints.h:51
static const Check_constraints & instance()
Definition: check_constraints.cc:41
static const CHARSET_INFO * name_collation()
Definition: check_constraints.cc:48
enum_indexes
Definition: check_constraints.h:57
@ INDEX_UK_SCHEMA_ID_NAME
Definition: check_constraints.h:59
@ INDEX_PK_ID
Definition: check_constraints.h:58
@ INDEX_UK_TABLE_ID_NAME
Definition: check_constraints.h:60
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
static int exists(node_address *name, node_list const *nodes, u_int with_uid)
Definition: node_list.cc:106
Definition: m_ctype.h:423