[MDEV-32369] Memory leak when executing PS for query with IN subquery Created: 2023-10-06 Updated: 2023-10-31 Resolved: 2023-10-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Prepared Statements |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0 |
| Fix Version/s: | 10.4.32, 10.5.23, 10.6.16, 10.10.7, 10.11.6, 11.0.4, 11.1.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Igor Babaev | Assignee: | Dmitry Shulga |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
For the following test case a statement memory leak is detected when the server is built with -DWITH_PROTECT_STATEMENT_MEMROOT:BOOL=ON
The leak is detected in the function Type_std_attributes::agg_item_set_converter()
|
| Comments |
| Comment by Dmitry Shulga [ 2023-10-17 ] | |||||||||
|
The branch for review is bb-10.4- | |||||||||
| Comment by Oleksandr Byelkin [ 2023-10-17 ] | |||||||||
|
OK to push | |||||||||
| Comment by Igor Babaev [ 2023-10-25 ] | |||||||||
|
The following test case fails if the server is built with -DWITH_PROTECT_STATEMENT_MEMROOT:BOOL=ON
|