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:
@ -778,10 +778,10 @@ public:
|
||||
{
|
||||
//DBUG_ASSERT(info->read_record == rr_from_tempfile);
|
||||
rownum= 0;
|
||||
io_cache= (IO_CACHE*)my_malloc(sizeof(IO_CACHE), MYF(0));
|
||||
io_cache= (IO_CACHE*)my_malloc(PSI_INSTRUMENT_ME, sizeof(IO_CACHE), MYF(0));
|
||||
init_slave_io_cache(info->io_cache, io_cache);
|
||||
|
||||
ref_buffer= (uchar*)my_malloc(ref_length, MYF(0));
|
||||
ref_buffer= (uchar*)my_malloc(PSI_INSTRUMENT_ME, ref_length, MYF(0));
|
||||
ref_buffer_valid= false;
|
||||
}
|
||||
}
|
||||
@ -2816,7 +2816,7 @@ bool compute_window_func(THD *thd,
|
||||
|
||||
List_iterator_fast<Group_bound_tracker> iter_part_trackers(partition_trackers);
|
||||
ha_rows rownum= 0;
|
||||
uchar *rowid_buf= (uchar*) my_malloc(tbl->file->ref_length, MYF(0));
|
||||
uchar *rowid_buf= (uchar*) my_malloc(PSI_INSTRUMENT_ME, tbl->file->ref_length, MYF(0));
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
Reference in New Issue
Block a user