[MDEV-5239] Asymmetry between ha_initialize_handlerton and ha_finalize_handlerton Created: 2013-11-05 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.4 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
There is an asymmetry between how This is a stack trace for ha_initialize_handlerton:
and for ha_finalilize_handlerton:
This makes libxml2 (used in ConnectSE) confuse and leak some memory. libxml2 has an internal memory pool which is bound per thread. This is probably an unfortunate design in libxml2. |