mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: PSI key is *always* the first argument
This commit is contained in:
@ -167,8 +167,8 @@ void udf_init()
|
||||
init_sql_alloc(key_memory_udf_mem, &mem, UDF_ALLOC_BLOCK_SIZE, 0, MYF(0));
|
||||
THD *new_thd = new THD(0);
|
||||
if (!new_thd ||
|
||||
my_hash_init(&udf_hash,system_charset_info,32,0,0,get_hash_key, NULL, 0,
|
||||
key_memory_udf_mem))
|
||||
my_hash_init(key_memory_udf_mem,
|
||||
&udf_hash,system_charset_info,32,0,0,get_hash_key, NULL, 0))
|
||||
{
|
||||
sql_print_error("Can't allocate memory for udf structures");
|
||||
my_hash_free(&udf_hash);
|
||||
|
Reference in New Issue
Block a user