1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Added interface for first set of dynamic variables.

This commit is contained in:
jani@rhols221.adsl.netsonic.fi
2002-06-28 19:30:09 +03:00
parent 20005fad01
commit 7cad1f9313
21 changed files with 265 additions and 128 deletions

View File

@@ -779,6 +779,7 @@ ulong acl_get(const char *host, const char *ip, const char *bin_ip,
db_access=0; host_access= ~0;
char key[ACL_KEY_LENGTH],*tmp_db,*end;
acl_entry *entry;
THD *thd= current_thd;
VOID(pthread_mutex_lock(&acl_cache->lock));
memcpy_fixed(&key,bin_ip,sizeof(struct in_addr));