1#ifndef PARTITION_ELEMENT_INCLUDED
2#define PARTITION_ELEMENT_INCLUDED
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:853
Definition: sql_list.h:433
Definition: partition_element.h:107
partition_element()
Definition: partition_element.h:129
const char * index_file_name
Definition: partition_element.h:120
void set_from_info(const HA_CREATE_INFO *info)
Definition: partition_element.h:159
List< part_elem_value > list_val_list
Definition: partition_element.h:110
char * part_comment
Definition: partition_element.h:118
List< partition_element > subpartitions
Definition: partition_element.h:109
handlerton * engine_type
Definition: partition_element.h:121
const char * partition_name
Definition: partition_element.h:116
bool max_value
Definition: partition_element.h:127
bool signed_flag
Definition: partition_element.h:126
longlong range_value
Definition: partition_element.h:115
ha_rows part_min_rows
Definition: partition_element.h:114
void put_to_info(HA_CREATE_INFO *info) const
Definition: partition_element.h:166
enum partition_state part_state
Definition: partition_element.h:122
bool has_null_value
Definition: partition_element.h:124
ha_rows part_max_rows
Definition: partition_element.h:113
uint16 nodegroup_id
Definition: partition_element.h:123
partition_element(partition_element *part_elem)
Definition: partition_element.h:144
const char * data_file_name
Definition: partition_element.h:119
const char * tablespace_name
Definition: partition_element.h:117
Definition: partition_info.h:208
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:221
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1139
unsigned char uchar
Definition: my_inttypes.h:51
long long int longlong
Definition: my_inttypes.h:54
uint16_t uint16
Definition: my_inttypes.h:64
struct p_column_list_val part_column_list_val
partition_type
An enum and a struct to handle partitioning and subpartitioning.
Definition: partition_element.h:32
struct p_elem_val part_elem_value
partition_state
Definition: partition_element.h:34
@ PART_TO_BE_ADDED
Definition: partition_element.h:38
@ PART_IS_CHANGED
Definition: partition_element.h:42
@ PART_CHANGED
Definition: partition_element.h:41
@ PART_NORMAL
Definition: partition_element.h:35
@ PART_ADMIN
Definition: partition_element.h:44
@ PART_IS_DROPPED
Definition: partition_element.h:36
@ PART_IS_ADDED
Definition: partition_element.h:43
@ PART_REORGED_DROPPED
Definition: partition_element.h:40
@ PART_TO_BE_DROPPED
Definition: partition_element.h:37
@ PART_TO_BE_REORGED
Definition: partition_element.h:39
#define UNDEF_NODEGROUP
Definition: handler.h:827
Struct to hold information about the table that should be created.
Definition: handler.h:3091
handlerton is a singleton structure - one instance per storage engine - to provide access to storage ...
Definition: handler.h:2661
Definition: partition_element.h:64
Item * item_expression
When partition clause is parsed this is set to the item expression for the value.
Definition: partition_element.h:82
partition_info * part_info
Definition: partition_element.h:83
char fixed
Definition: partition_element.h:89
bool max_value
MAXVALUE is set (only for RANGE COLUMNS)
Definition: partition_element.h:86
uint partition_id
Definition: partition_element.h:84
bool null_value
NULL is set (only for LIST COLUMNS)
Definition: partition_element.h:88
union p_column_list_val::column_value_union column_value
Definition: partition_element.h:99
part_column_list_val * col_val_array
Definition: partition_element.h:104
uint added_items
Definition: partition_element.h:101
bool unsigned_flag
Definition: partition_element.h:103
bool null_value
Definition: partition_element.h:102
longlong value
Definition: partition_element.h:100
Definition: partition_element.h:65
const uchar * field_image
When a table is opened this is set to the field image of the value from the item_expression below.
Definition: partition_element.h:70
const char * value_str
When the values are read from dd.Partition_value it is carried as a C-string.
Definition: partition_element.h:75