24#ifndef DD_TABLES__TABLE_PARTITIONS_INCLUDED
25#define DD_TABLES__TABLE_PARTITIONS_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: raw_record.h:46
Definition: table_partitions.h:42
static const Table_partitions & instance()
Definition: table_partitions.cc:43
static const CHARSET_INFO * name_collation()
Definition: table_partitions.cc:50
enum_foreign_keys
Definition: table_partitions.h:74
@ FK_PARENT_PARTITION_ID
Definition: table_partitions.h:77
@ FK_TABLE_ID
Definition: table_partitions.h:75
@ FK_TABLESPACE_ID
Definition: table_partitions.h:76
enum_fields
Definition: table_partitions.h:48
@ FIELD_OPTIONS
Definition: table_partitions.h:57
@ FIELD_TABLESPACE_ID
Definition: table_partitions.h:60
@ FIELD_NUMBER
Definition: table_partitions.h:52
@ NUMBER_OF_FIELDS
Definition: table_partitions.h:61
@ FIELD_NAME
Definition: table_partitions.h:53
@ FIELD_TABLE_ID
Definition: table_partitions.h:50
@ FIELD_SE_PRIVATE_ID
Definition: table_partitions.h:59
@ FIELD_PARENT_PARTITION_ID
Definition: table_partitions.h:51
@ FIELD_ENGINE
Definition: table_partitions.h:55
@ FIELD_COMMENT
Definition: table_partitions.h:56
@ FIELD_SE_PRIVATE_DATA
Definition: table_partitions.h:58
@ FIELD_ID
Definition: table_partitions.h:49
@ FIELD_DESCRIPTION_UTF8
Definition: table_partitions.h:54
static Object_key * create_key_by_table_id(Object_id table_id)
Definition: table_partitions.cc:114
enum_indexes
Definition: table_partitions.h:64
@ INDEX_UK_ENGINE_SE_PRIVATE_ID
Definition: table_partitions.h:68
@ INDEX_PK_ID
Definition: table_partitions.h:65
@ INDEX_UK_TABLE_ID_PARENT_PARTITION_ID_NUMBER
Definition: table_partitions.h:67
@ INDEX_UK_TABLE_ID_NAME
Definition: table_partitions.h:66
@ INDEX_K_TABLESPACE_ID
Definition: table_partitions.h:70
@ INDEX_K_ENGINE
Definition: table_partitions.h:69
@ INDEX_K_PARENT_PARTITION_ID
Definition: table_partitions.h:71
static ulonglong read_table_id(const Raw_record &r)
Definition: table_partitions.cc:131
static Object_key * create_se_private_key(const String_type &engine, Object_id se_private_id)
Definition: table_partitions.cc:139
static bool get_partition_table_id(THD *thd, const String_type &engine, ulonglong se_private_id, Object_id *oid)
Definition: table_partitions.cc:149
Table_partitions()
Definition: table_partitions.cc:56
static Object_key * create_key_by_parent_partition_id(Object_id table_id, Object_id parent_partition_id)
Definition: table_partitions.cc:121
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
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
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
Definition: m_ctype.h:385
unsigned int uint
Definition: uca9-dump.cc:75