[MDEV-16595] SP with a CONTINUE HANDLER inside a loop wastes THD memory aggressively Created: 2018-06-27 Updated: 2018-07-30 Resolved: 2018-06-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Stored routines |
| Affects Version/s: | 10.0, 10.2.16, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.3.8, 10.4.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This problem is similar to
returns the following output:
Notice, thread memory usage grows through iterations. |
| Comments |
| Comment by Alexander Barkov [ 2018-06-28 ] | |||||||||||||||||||||||||||||||||
|
This script:
returns with the following error:
It should return without errors. | |||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2018-07-30 ] | |||||||||||||||||||||||||||||||||
|
The patch was pushed with a wrong MDEV in the comment:
|