MCPcopy Create free account
hub / github.com/MariaDB/server / remove_role_user_mapping

Function remove_role_user_mapping

sql/sql_acl.cc:4102–4107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4100}
4101
4102static void remove_role_user_mapping(ACL_USER_BASE *grantee, ACL_ROLE *role,
4103 int grantee_idx=-1, int role_idx=-1)
4104{
4105 remove_ptr_from_dynarray(&grantee->role_grants, role);
4106 remove_ptr_from_dynarray(&role->parent_grantee, grantee);
4107}
4108
4109
4110static my_bool add_role_user_mapping_action(void *ptr, void *unused __attribute__((unused)))

Callers 1

mysql_grant_roleFunction · 0.85

Calls 1

remove_ptr_from_dynarrayFunction · 0.85

Tested by

no test coverage detected