diff options
author | bar@gw.udmsearch.izhnet.ru <> | 2002-03-14 21:44:42 +0400 |
---|---|---|
committer | bar@gw.udmsearch.izhnet.ru <> | 2002-03-14 21:44:42 +0400 |
commit | c60a29f0ee220277844264a20fbf8859203fabea (patch) | |
tree | d80812bbab290e762f4a058cded480022c09d0f3 /sql/sql_udf.cc | |
parent | f8a5452877ada07efadc3e3180b619f780faec78 (diff) | |
download | mariadb-git-c60a29f0ee220277844264a20fbf8859203fabea.tar.gz |
Hash now supports several charsets
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r-- | sql/sql_udf.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc index 9493f969802..f44fa3b7321 100644 --- a/sql/sql_udf.cc +++ b/sql/sql_udf.cc @@ -127,7 +127,8 @@ void udf_init() init_sql_alloc(&mem, 1024,0); THD *new_thd = new THD; if (!new_thd || - hash_init(&udf_hash,32,0,0,get_hash_key, NULL, HASH_CASE_INSENSITIVE)) + hash_init(&udf_hash,system_charset_info, + 32,0,0,get_hash_key, NULL, HASH_CASE_INSENSITIVE)) { sql_print_error("Can't allocate memory for udf structures"); hash_free(&udf_hash); |