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:34
Definition: object_key.h:38
Definition: object_table_impl.h:36
Definition: check_constraints.h:38
Check_constraints()
Definition: check_constraints.cc:52
static Object_key * create_key_by_table_id(Object_id table_id)
Definition: check_constraints.cc:87
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:103
static Object_key * create_key_by_check_constraint_name(Object_id schema_id, const String_type &check_cons_name)
Definition: check_constraints.cc:94
enum_foreign_keys
Definition: check_constraints.h:61
@ FK_SCHEMA_ID
Definition: check_constraints.h:61
@ FK_TABLE_ID
Definition: check_constraints.h:61
enum_fields
Definition: check_constraints.h:44
@ FIELD_SCHEMA_ID
Definition: check_constraints.h:46
@ FIELD_NAME
Definition: check_constraints.h:48
@ FIELD_CHECK_CLAUSE
Definition: check_constraints.h:50
@ FIELD_CHECK_CLAUSE_UTF8
Definition: check_constraints.h:51
@ FIELD_TABLE_ID
Definition: check_constraints.h:47
@ FIELD_ID
Definition: check_constraints.h:45
@ NUMBER_OF_FIELDS
Definition: check_constraints.h:52
@ FIELD_ENFORCED
Definition: check_constraints.h:49
static const Check_constraints & instance()
Definition: check_constraints.cc:39
static const CHARSET_INFO * name_collation()
Definition: check_constraints.cc:46
enum_indexes
Definition: check_constraints.h:55
@ INDEX_UK_SCHEMA_ID_NAME
Definition: check_constraints.h:57
@ INDEX_PK_ID
Definition: check_constraints.h:56
@ INDEX_UK_TABLE_ID_NAME
Definition: check_constraints.h:58
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:385
unsigned int uint
Definition: uca9-dump.cc:75