summaryrefslogtreecommitdiff
path: root/sql/hostname.cc
diff options
context:
space:
mode:
authorramil@mysql.com <>2006-03-03 15:32:00 +0400
committerramil@mysql.com <>2006-03-03 15:32:00 +0400
commitd47b351204a98ea3a391da526667ead1e1c4bdd0 (patch)
tree48c313fd68df18cd0a97c1451521e0b36ad37eb8 /sql/hostname.cc
parent1a07140515793828453d08be1bbe7f417b5a71a8 (diff)
parent1301484679d112587f0a5a759be183af0b5d2fe4 (diff)
downloadmariadb-git-d47b351204a98ea3a391da526667ead1e1c4bdd0.tar.gz
Merge mysql.com:/usr/home/ram/work/mysql-4.1
into mysql.com:/usr/home/ram/work/mysql-5.0
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r--sql/hostname.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc
index 3b1eeb63d37..c5c337080cf 100644
--- a/sql/hostname.cc
+++ b/sql/hostname.cc
@@ -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);