mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Add new user variables for tuning memory usage:
query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size Add more checks for "out of memory" detection in range optimization
This commit is contained in:
@ -124,7 +124,7 @@ void udf_init()
|
||||
|
||||
pthread_mutex_init(&THR_LOCK_udf,MY_MUTEX_INIT_SLOW);
|
||||
|
||||
init_sql_alloc(&mem, 1024,0);
|
||||
init_sql_alloc(&mem, UDF_ALLOC_BLOCK_SIZE, 0);
|
||||
THD *new_thd = new THD;
|
||||
if (!new_thd ||
|
||||
hash_init(&udf_hash,32,0,0,get_hash_key, NULL, HASH_CASE_INSENSITIVE))
|
||||
|
Reference in New Issue
Block a user