![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Parse context for partitioning-specific parse tree nodes. More...
#include <parse_tree_partitions.h>
Public Member Functions | |
| Partition_parse_context (THD *const thd, partition_info *part_info, partition_element *current_partition, partition_element *curr_part_elem, bool is_add_or_reorganize_partition) | |
| Partition_parse_context (THD *thd_arg, partition_info *part_info_arg, bool is_add_or_reorganize_partition) | |
  Public Member Functions inherited from Parse_context | |
| bool | finalize_query_expression () | 
| Call upon parse completion.  More... | |
| Parse_context (THD *thd, Query_block *sl, bool show_parse_tree, Show_parse_tree *parent_show_parent_tree) | |
| Parse_context (THD *thd_arg, Query_block *sl_arg, bool show_parse_tree=false) | |
| Parse_context (THD *thd_arg, Query_block *sl_arg, Show_parse_tree *parent_show_parent_tree) | |
| bool | is_top_level_union_all (Surrounding_context op) | 
| Determine if there is anything but UNION ALL above in m_stack.  More... | |
  Public Member Functions inherited from Parse_context_base | |
| Parse_context_base (bool show_parse_tree=false, Show_parse_tree *parent_show_parent_tree=nullptr) | |
  Public Member Functions inherited from Parser_partition_info | |
| Parser_partition_info (partition_info *const part_info, partition_element *const current_partition, partition_element *const curr_part_elem, part_elem_value *curr_list_val, uint curr_list_object) | |
| void | init_col_val (part_column_list_val *col_val, Item *item) | 
| Initialise part_elem_value object at setting of a new object.  More... | |
| part_column_list_val * | add_column_value () | 
| Create a new column value in current list.  More... | |
| bool | add_max_value () | 
| Create a new column value in current list with maxvalue.  More... | |
| bool | reorganize_into_single_field_col_val () | 
| Reorganize the preallocated buffer into a single field col list.  More... | |
| bool | init_column_part () | 
| Initialize a new column for VALUES {LESS THAN|IN}.  More... | |
| bool | add_column_list_value (THD *thd, Item *item) | 
| Add a column value in VALUES LESS THAN or VALUES IN.  More... | |
Public Attributes | |
| const bool | is_add_or_reorganize_partition | 
| True for "ALTER TABLE ADD PARTITION" and "ALTER TABLE REORGANIZE PARTITION" statements, otherwise false.  More... | |
  Public Attributes inherited from Parse_context | |
| THD *const | thd | 
| Current thread handler.  More... | |
| MEM_ROOT * | mem_root | 
| Current MEM_ROOT.  More... | |
| Query_block * | select | 
| Current Query_block object.  More... | |
| mem_root_deque< QueryLevel > | m_stack | 
| Aids query term tree construction.  More... | |
  Public Attributes inherited from Parse_context_base | |
| std::unique_ptr< Show_parse_tree > | m_show_parse_tree = nullptr | 
  Public Attributes inherited from Parser_partition_info | |
| partition_info *const | part_info | 
| partition_element *const | current_partition | 
| partition_element *const | curr_part_elem | 
| part_elem_value * | curr_list_val | 
| uint | curr_list_object | 
| uint | count_curr_subparts | 
Parse context for partitioning-specific parse tree nodes.
For internal use in the contextualization code.
| Partition_parse_context::Partition_parse_context | ( | THD *const | thd, | 
| partition_info * | part_info, | ||
| partition_element * | current_partition, | ||
| partition_element * | curr_part_elem, | ||
| bool | is_add_or_reorganize_partition | ||
| ) | 
      
  | 
  inline | 
| const bool Partition_parse_context::is_add_or_reorganize_partition | 
True for "ALTER TABLE ADD PARTITION" and "ALTER TABLE REORGANIZE PARTITION" statements, otherwise false.