mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-5525 Assertion `status == 0' fails on creating user after granting it role admin option
don't add entries to acl_roles_mappings hash for non-existing grantees.
This commit is contained in:
@ -40,3 +40,9 @@ create role r1;
|
||||
drop user r1;
|
||||
ERROR HY000: Operation DROP USER failed for 'r1'@'%'
|
||||
drop role r1;
|
||||
create role r1 with admin u1;
|
||||
Warnings:
|
||||
Note 1449 The user specified as a definer ('u1'@'%') does not exist
|
||||
create user foo@bar;
|
||||
drop user foo@bar;
|
||||
drop role r1;
|
||||
|
@ -60,3 +60,11 @@ create role r1;
|
||||
drop user r1;
|
||||
drop role r1;
|
||||
|
||||
#
|
||||
# MDEV-5525 Assertion `status == 0' fails on creating user after granting it role admin option
|
||||
#
|
||||
create role r1 with admin u1;
|
||||
create user foo@bar;
|
||||
drop user foo@bar;
|
||||
drop role r1;
|
||||
|
||||
|
Reference in New Issue
Block a user