Rebuild lists used for checking of allowed hosts We need to rebuild 'acl_check_hosts' and 'acl_wild_hosts' after adding, dropping or renaming user, since they contain pointers to elements of 'acl_user' array, which are invalidated by drop operation, and use ACL_USER::host::hostname as a key, which is changed by rename. */
| 4006 | ACL_USER::host::hostname as a key, which is changed by rename. |
| 4007 | */ |
| 4008 | static void rebuild_check_host(void) |
| 4009 | { |
| 4010 | delete_dynamic(&acl_wild_hosts); |
| 4011 | my_hash_free(&acl_check_hosts); |
| 4012 | init_check_host(); |
| 4013 | } |
| 4014 | |
| 4015 | /* |
| 4016 | Reset a role role_grants dynamic array. |
no test coverage detected