mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
This commit is contained in:
@ -3025,7 +3025,8 @@ exit:
|
||||
(entry= (acl_entry*) malloc(sizeof(acl_entry)+key_length)))
|
||||
{
|
||||
entry->access=(db_access & host_access);
|
||||
entry->length=key_length;
|
||||
DBUG_ASSERT(key_length < 0xffff);
|
||||
entry->length=(uint16)key_length;
|
||||
memcpy((uchar*) entry->key,key,key_length);
|
||||
acl_cache->add(entry);
|
||||
}
|
||||
|
Reference in New Issue
Block a user