summaryrefslogtreecommitdiff
path: root/sql/hostname.cc
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-03-07 12:21:32 +0400
committerbar@bar.mysql.r18.ru <>2003-03-07 12:21:32 +0400
commit4b5bfe990febcaf0c69a85457f29ffcd1cdeb763 (patch)
tree3247730070624b547ff4ab3f2ea2e00169b965d2 /sql/hostname.cc
parentd09d2b85fe9c1d1ca5ced68d3494d6f6bb2af2e6 (diff)
downloadmariadb-git-4b5bfe990febcaf0c69a85457f29ffcd1cdeb763.tar.gz
sql_acl.cc, item.h:
use of new argument sql_analyse.h: macros from mysql_priv.h. Should be deleted soon. mysql_priv.h: _default_charset_info has been removed item_cmpfunc.h: Use cmp_charset hostname.cc, hash_filo.h: Move charset to constructor argument
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r--sql/hostname.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc
index 2905320cc15..5c4bde99256 100644
--- a/sql/hostname.cc
+++ b/sql/hostname.cc
@@ -65,7 +65,8 @@ bool hostname_cache_init()
if (!(hostname_cache=new hash_filo(HOST_CACHE_SIZE, offset,
sizeof(struct in_addr),NULL,
- (hash_free_key) free)))
+ (hash_free_key) free,
+ &my_charset_latin1)))
return 1;
hostname_cache->clear();
return 0;