[MDEV-19230] Get rid of dynamic part of record offsets Created: 2019-04-10 Updated: 2019-11-07 Resolved: 2019-11-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | None |
| Fix Version/s: | 10.2.29, 10.3.20, 10.4.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Eugene Kosov (Inactive) | Assignee: | Eugene Kosov (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
{{ulint offsets_[REC_OFFS_NORMAL_SIZE];}} is 8 * 100 == 800 bytes now. This task is about replacing ulint with uint16_t and allocate REC_MAX_N_USER_FIELDS on the stack so the mem_heap_t will not be needed for reading record offset. |