mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Hash now supports several charsets
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user