[MDEV-27478] Misleading error message for SET DEFAULT ROLE Created: 2022-01-12 Updated: 2022-01-12 Resolved: 2022-01-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Karl Levik | Assignee: | Sergei Golubchik |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Yields:
... when really the problem is a missing grant for user `u` before trying to set the default role:
So therefore the error message ought to say something like this instead:
I think this behaviour is seen in all versions. |
| Comments |
| Comment by Sergei Golubchik [ 2022-01-12 ] |
|
please see |