Below is the list of changes that have just been committed into a local
4.1 repository of ram. When ram does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2454 06/01/24 13:58:28 ramil@stripped +1 -0
Fix for bug #15756: incorrect ip address matching in ACL due to use of latin1 collation.
Thanks Deomid Ryabkov <mysqlbugs@stripped> for the great help!
sql/hostname.cc
1.31 06/01/24 13:58:16 ramil@stripped +1 -1
Fix for bug #15756: incorrect ip address matching in ACL due to use of latin1
collation.
- use my_charset_bin instead of my_charset_latin1 to properly compare IP addresses.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: ramil
# Host: myoffice.izhnet.ru
# Root: /usr/home/ram/work/4.1.b13659
--- 1.30/sql/hostname.cc 2005-09-03 05:06:58 +05:00
+++ 1.31/sql/hostname.cc 2006-01-24 13:58:16 +04:00
@@ -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);
| Thread |
|---|
| • bk commit into 4.1 tree (ramil:1.2454) BUG#15756 | ramil | 24 Jan |