[MDEV-26221] my_sys DYNAMIC_ARRAY and DYNAMIC_STRING inconsistancy Created: 2021-07-23 Updated: 2022-07-18 Resolved: 2021-10-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | 10.7.1 |
| Type: | Task | Priority: | Trivial |
| Reporter: | Eric Herman | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Consider:
vs:
I expect the values of init_alloc and alloc_increment to be size_t for DYNAMIC_ARRAY just like they are for DYNAMIC_STRING. |
| Comments |
| Comment by Eric Herman [ 2021-07-23 ] | |||||||||||||||
|
The underlying structs also reflect this same inconsistency:
| |||||||||||||||
| Comment by Eric Herman [ 2021-09-05 ] | |||||||||||||||
| Comment by Vicențiu Ciorbaru [ 2021-10-19 ] | |||||||||||||||
|
Fixed with https://github.com/MariaDB/server/commit/401ff6994d842a4072b7b155e5a958e178e6497a |