[MDEV-17943] Unfortunate error code/message upon SET DEFAULT ROLE FOR Created: 2018-12-08 Updated: 2024-01-02 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Rucha Deodhar |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
SET DEFAULT ROLE FOR for a non-existing user produces ER_INVALID_CURRENT_USER:
It doesn't really make sense, because the current user is fine, it's the target user that's wrong. |
| Comments |
| Comment by Rucha Deodhar [ 2023-12-18 ] |
|
Patch: https://github.com/MariaDB/server/commit/0933ae14741f3c54dd2c43278a9f3c582e53d42f |
| Comment by Oleksandr Byelkin [ 2024-01-02 ] |
|
Please add test case to the commit. |