1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

perfschema memory related instrumentation changes

This commit is contained in:
Sergei Golubchik
2020-01-29 13:50:26 +01:00
parent 2ac3121af2
commit 7c58e97bf6
307 changed files with 2622 additions and 1743 deletions

View File

@ -58,11 +58,10 @@ extern "C" {
}
}
void init_sql_alloc(MEM_ROOT *mem_root,
const char *area_name __attribute__((unused)),
uint block_size, uint pre_alloc, myf my_flags)
void init_sql_alloc(PSI_memory_key key, MEM_ROOT *mem_root, uint block_size,
uint pre_alloc, myf my_flags)
{
init_alloc_root(mem_root, area_name, block_size, pre_alloc, my_flags);
init_alloc_root(key, mem_root, block_size, pre_alloc, my_flags);
mem_root->error_handler=sql_alloc_error_handler;
}