mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Post-review fix (WL#2987)
This commit is contained in:
@@ -3641,14 +3641,11 @@ void prune_partition_set(const TABLE *table, part_id_range *part_spec)
|
||||
part_spec->start_part= i;
|
||||
last_partition= i;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (last_partition == -1)
|
||||
/* No partition found in pruned bitmap yet */
|
||||
part_spec->start_part= i + 1;
|
||||
}
|
||||
}
|
||||
if (last_partition != -1)
|
||||
if (last_partition == -1)
|
||||
/* No partition found in pruned bitmap */
|
||||
part_spec->start_part= part_spec->end_part + 1;
|
||||
else //if (last_partition != -1)
|
||||
part_spec->end_part= last_partition;
|
||||
|
||||
DBUG_VOID_RETURN;
|
||||
|
Reference in New Issue
Block a user