[MDEV-16045] Allocate log_sys statically Created: 2018-04-27 Updated: 2018-05-17 Resolved: 2018-04-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Fix Version/s: | 10.3.7 |
| Type: | Task | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | performance | ||
| Issue Links: |
|
||||||||
| Description |
|
There is only one redo log subsystem in InnoDB. log_sys should not be a log_t* pointer to a heap-allocated object, but instead an object in static storage. Some functions should be made member functions of log_t. Likewise, log_group_t should be a subclass of log_t, and direct references to it should be avoided. |