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:
@ -54,6 +54,7 @@ int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table);
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
extern PSI_memory_key key_memory_queue_item;
|
||||
|
||||
class PROF_MEASUREMENT;
|
||||
class QUERY_PROFILE;
|
||||
@ -100,7 +101,8 @@ public:
|
||||
{
|
||||
struct queue_item *new_item;
|
||||
|
||||
new_item= (struct queue_item *) my_malloc(sizeof(struct queue_item), MYF(0));
|
||||
new_item= (struct queue_item *) my_malloc(key_memory_queue_item,
|
||||
sizeof(struct queue_item), MYF(0));
|
||||
|
||||
new_item->payload= payload;
|
||||
|
||||
|
Reference in New Issue
Block a user