1#ifndef PARTITION_ELEMENT_INCLUDED
2#define PARTITION_ELEMENT_INCLUDED
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:930
Definition: sql_list.h:467
Definition: partition_element.h:108
partition_element()
Definition: partition_element.h:130
const char * index_file_name
Definition: partition_element.h:121
void set_from_info(const HA_CREATE_INFO *info)
Definition: partition_element.h:160
List< part_elem_value > list_val_list
Definition: partition_element.h:111
char * part_comment
Definition: partition_element.h:119
List< partition_element > subpartitions
Definition: partition_element.h:110
handlerton * engine_type
Definition: partition_element.h:122
const char * partition_name
Definition: partition_element.h:117
bool max_value
Definition: partition_element.h:128
bool signed_flag
Definition: partition_element.h:127
longlong range_value
Definition: partition_element.h:116
ha_rows part_min_rows
Definition: partition_element.h:115
void put_to_info(HA_CREATE_INFO *info) const
Definition: partition_element.h:167
enum partition_state part_state
Definition: partition_element.h:123
bool has_null_value
Definition: partition_element.h:125
ha_rows part_max_rows
Definition: partition_element.h:114
uint16 nodegroup_id
Definition: partition_element.h:124
partition_element(partition_element *part_elem)
Definition: partition_element.h:145
const char * data_file_name
Definition: partition_element.h:120
const char * tablespace_name
Definition: partition_element.h:118
Definition: partition_info.h:209
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1141
unsigned char uchar
Definition: my_inttypes.h:52
long long int longlong
Definition: my_inttypes.h:55
uint16_t uint16
Definition: my_inttypes.h:65
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:33
struct p_elem_val part_elem_value
partition_state
Definition: partition_element.h:35
@ PART_TO_BE_ADDED
Definition: partition_element.h:39
@ PART_IS_CHANGED
Definition: partition_element.h:43
@ PART_CHANGED
Definition: partition_element.h:42
@ PART_NORMAL
Definition: partition_element.h:36
@ PART_ADMIN
Definition: partition_element.h:45
@ PART_IS_DROPPED
Definition: partition_element.h:37
@ PART_IS_ADDED
Definition: partition_element.h:44
@ PART_REORGED_DROPPED
Definition: partition_element.h:41
@ PART_TO_BE_DROPPED
Definition: partition_element.h:38
@ PART_TO_BE_REORGED
Definition: partition_element.h:40
#define UNDEF_NODEGROUP
Definition: handler.h:836
Struct to hold information about the table that should be created.
Definition: handler.h:3202
const char * data_file_name
Definition: handler.h:3236
const char * tablespace
Definition: handler.h:3208
ulonglong max_rows
Definition: handler.h:3239
const char * index_file_name
Definition: handler.h:3237
ulonglong min_rows
Definition: handler.h:3240
handlerton is a singleton structure - one instance per storage engine - to provide access to storage ...
Definition: handler.h:2734
Definition: partition_element.h:65
Item * item_expression
When partition clause is parsed this is set to the item expression for the value.
Definition: partition_element.h:83
partition_info * part_info
Definition: partition_element.h:84
char fixed
Definition: partition_element.h:90
bool max_value
MAXVALUE is set (only for RANGE COLUMNS)
Definition: partition_element.h:87
uint partition_id
Definition: partition_element.h:85
bool null_value
NULL is set (only for LIST COLUMNS)
Definition: partition_element.h:89
union p_column_list_val::column_value_union column_value
Definition: partition_element.h:100
part_column_list_val * col_val_array
Definition: partition_element.h:105
uint added_items
Definition: partition_element.h:102
bool unsigned_flag
Definition: partition_element.h:104
bool null_value
Definition: partition_element.h:103
longlong value
Definition: partition_element.h:101
Definition: partition_element.h:66
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:71
const char * value_str
When the values are read from dd.Partition_value it is carried as a C-string.
Definition: partition_element.h:76