[MCOL-4372] Simplify struct PartitionInfo in ha_mcs_partition.cpp Created: 2020-10-29 Updated: 2023-07-01 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | 1.5.3, 6.1.1 |
| Fix Version/s: | 23.10 |
| Type: | Task | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
struct PartitionInfo seems to have some redundancy:
It's not clear why have two int64_t members for "min" and two int64_t members for "max". Also, to avoid casts, we could add members for unsigned variants. Something like this should do:
|