MCPcopy Create free account
hub / github.com/arkdb/inception / rebuild_check_host

Function rebuild_check_host

sql/sql_acl.cc:2121–2126  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

acl_insert_userFunction · 0.85

Calls 3

delete_dynamicFunction · 0.85
my_hash_freeFunction · 0.85
init_check_hostFunction · 0.85

Tested by

no test coverage detected