fix unexpected error occured during alter tablegroup
This commit is contained in:
@ -6493,7 +6493,7 @@ hash_partition_element:
|
||||
PARTITION relation_factor opt_part_id opt_engine_option opt_subpartition_list
|
||||
{
|
||||
UNUSED($4);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_ELEMENT, 5, $2, NULL, $3, NULL, $5);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_HASH_ELEMENT, 5, $2, NULL, $3, NULL, $5);
|
||||
}
|
||||
;
|
||||
|
||||
@ -6518,7 +6518,7 @@ range_partition_element:
|
||||
PARTITION relation_factor VALUES LESS THAN range_partition_expr opt_part_id opt_engine_option opt_subpartition_list
|
||||
{
|
||||
UNUSED($8);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_ELEMENT, 5, $2, $6, $7, NULL, $9);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_RANGE_ELEMENT, 5, $2, $6, $7, NULL, $9);
|
||||
}
|
||||
;
|
||||
|
||||
@ -6544,7 +6544,7 @@ list_partition_element:
|
||||
PARTITION relation_factor VALUES IN list_partition_expr opt_part_id opt_engine_option opt_subpartition_list
|
||||
{
|
||||
UNUSED($7);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_ELEMENT, 5, $2, $5, $6, NULL, $8);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_LIST_ELEMENT, 5, $2, $5, $6, NULL, $8);
|
||||
}
|
||||
;
|
||||
|
||||
@ -6586,7 +6586,7 @@ hash_subpartition_element:
|
||||
SUBPARTITION relation_factor opt_engine_option
|
||||
{
|
||||
UNUSED($3);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_ELEMENT, 5, $2, NULL, NULL, NULL, NULL);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_HASH_ELEMENT, 5, $2, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
;
|
||||
|
||||
@ -6620,7 +6620,7 @@ range_subpartition_element:
|
||||
SUBPARTITION relation_factor VALUES LESS THAN range_partition_expr opt_engine_option
|
||||
{
|
||||
UNUSED($7);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_ELEMENT, 5, $2, $6, NULL, NULL, NULL);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_RANGE_ELEMENT, 5, $2, $6, NULL, NULL, NULL);
|
||||
}
|
||||
;
|
||||
|
||||
@ -6646,7 +6646,7 @@ list_subpartition_element:
|
||||
SUBPARTITION relation_factor VALUES IN list_partition_expr opt_engine_option
|
||||
{
|
||||
UNUSED($6);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_ELEMENT, 5, $2, $5, NULL, NULL, NULL);
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_PARTITION_LIST_ELEMENT, 5, $2, $5, NULL, NULL, NULL);
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user