[MDEV-25242] Server crashes in check_grant upon invoking function with userstat enabled Created: 2021-03-24 Updated: 2022-06-21 Resolved: 2021-04-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System, Plugin - userstat, Stored routines |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.2.38, 10.3.29, 10.4.19, 10.5.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Fails on debug, release and ASAN builds alike. |
| Comments |
| Comment by Elena Stepanova [ 2021-03-24 ] | |||||||||||||||||||||||||||||||||||||
|
Affects sys schema. | |||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-04-02 ] | |||||||||||||||||||||||||||||||||||||
|
With the patch in the branch, fails the same way with INDEX_STATISTICS (apparently it requires the same change). I don't see the same in/with CLIENT_STATISTICS or USER_STATISTICS, though.
Also test case without performance_schema and without ER_SUBQUERY_NO_1_ROW.
| |||||||||||||||||||||||||||||||||||||
| Comment by Hartmut Holzgraefe [ 2022-06-07 ] | |||||||||||||||||||||||||||||||||||||
|
This was reported for 10.2 to 10.6, but only has "fix version" info for 10.2.x to 10.5.x, not 10.6.x? | |||||||||||||||||||||||||||||||||||||
| Comment by Hartmut Holzgraefe [ 2022-06-07 ] | |||||||||||||||||||||||||||||||||||||
|
Ok, it was fixed for e.g. 10.5.10, which was released before the first 10.6 GA, so that's why no explicit 10.6.x is mentioned as fix version? | |||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2022-06-21 ] | |||||||||||||||||||||||||||||||||||||
|
yes |