mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 19:55:32 +02:00
BUG#47754, used number of parts instead of number of list values as end part for list partitioning in column list partitioning
This commit is contained in:
parent
d0627362ad
commit
f1437d6afd
3 changed files with 23 additions and 1 deletions
|
|
@ -6962,7 +6962,15 @@ int get_part_iter_for_interval_cols_via_map(partition_info *part_info,
|
|||
nparts);
|
||||
}
|
||||
if (flags & NO_MAX_RANGE)
|
||||
part_iter->part_nums.end= part_info->num_parts;
|
||||
{
|
||||
if (part_info->part_type == RANGE_PARTITION)
|
||||
part_iter->part_nums.end= part_info->num_parts;
|
||||
else /* LIST_PARTITION */
|
||||
{
|
||||
DBUG_ASSERT(part_info->part_type == LIST_PARTITION);
|
||||
part_iter->part_nums.end= part_info->num_list_values;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Copy from max_value to record
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue