perfschema memory related instrumentation changes

This commit is contained in:
Sergei Golubchik 2020-01-29 13:50:26 +01:00
commit 7c58e97bf6
307 changed files with 2620 additions and 1741 deletions

View file

@ -411,7 +411,8 @@ Event_scheduler::start(int *err_no)
/* This should not be marked with MY_THREAD_SPECIFIC */
scheduler_param_value=
(struct scheduler_param *)my_malloc(sizeof(struct scheduler_param), MYF(0));
(struct scheduler_param *)my_malloc(key_memory_Event_scheduler_scheduler_param,
sizeof(struct scheduler_param), MYF(0));
scheduler_param_value->thd= new_thd;
scheduler_param_value->scheduler= this;