diff options
author | unknown <bar@gw.udmsearch.izhnet.ru> | 2002-03-14 21:44:42 +0400 |
---|---|---|
committer | unknown <bar@gw.udmsearch.izhnet.ru> | 2002-03-14 21:44:42 +0400 |
commit | 8959b690fe796a44ddda440290b3fe9a9cf89ca5 (patch) | |
tree | d80812bbab290e762f4a058cded480022c09d0f3 /sql/sql_udf.cc | |
parent | ee1ef8c58c9df9a62f7a0cc3dee6c2f705c8eb44 (diff) | |
download | mariadb-git-8959b690fe796a44ddda440290b3fe9a9cf89ca5.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); |