mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
improve the error message for a dropped current role
This commit is contained in:
@@ -2,4 +2,4 @@ create role r;
|
||||
set role r;
|
||||
drop role r;
|
||||
revoke all on *.* from current_role;
|
||||
ERROR 42000: There is no such grant defined for user 'r' on host ''
|
||||
ERROR OP000: Invalid role specification `r`.
|
||||
|
@@ -5,5 +5,5 @@
|
||||
create role r;
|
||||
set role r;
|
||||
drop role r;
|
||||
error ER_NONEXISTING_GRANT;
|
||||
error ER_INVALID_ROLE;
|
||||
revoke all on *.* from current_role;
|
||||
|
Reference in New Issue
Block a user