mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
perfschema memory related instrumentation changes
This commit is contained in:
@ -364,7 +364,8 @@ static int parse_networks(const char *subnets_str, subnet **out_subnets, size_t
|
||||
}
|
||||
|
||||
max_subnets= MY_MAX(3,strlen(subnets_str)/2);
|
||||
subnets= (subnet *)my_malloc(max_subnets * sizeof(subnet),MY_ZEROFILL);
|
||||
subnets= (subnet *)my_malloc(PSI_INSTRUMENT_ME,
|
||||
max_subnets * sizeof(subnet), MY_ZEROFILL);
|
||||
|
||||
/* Check for special case '*'. */
|
||||
if (strcmp(subnets_str, "*") == 0)
|
||||
|
Reference in New Issue
Block a user