mirror of
https://github.com/MariaDB/server.git
synced 2025-05-28 13:01:41 +03:00
Fix for bug #15756: incorrect ip address matching in ACL due to use of latin1 collation.
Thanks Deomid Ryabkov <mysqlbugs@rojer.pp.ru> for the great help!
This commit is contained in:
parent
5b9d686e87
commit
ce3d8b93b9
@ -61,7 +61,7 @@ bool hostname_cache_init()
|
||||
if (!(hostname_cache=new hash_filo(HOST_CACHE_SIZE, offset,
|
||||
sizeof(struct in_addr),NULL,
|
||||
(hash_free_key) free,
|
||||
&my_charset_latin1)))
|
||||
&my_charset_bin)))
|
||||
return 1;
|
||||
hostname_cache->clear();
|
||||
(void) pthread_mutex_init(&LOCK_hostname,MY_MUTEX_INIT_SLOW);
|
||||
|
Loading…
x
Reference in New Issue
Block a user