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:
@ -830,7 +830,8 @@ DATE_TIME_FORMAT *date_time_format_copy(THD *thd, DATE_TIME_FORMAT *format)
|
||||
if (thd)
|
||||
new_format= (DATE_TIME_FORMAT *) thd->alloc(length);
|
||||
else
|
||||
new_format= (DATE_TIME_FORMAT *) my_malloc(length, MYF(MY_WME));
|
||||
new_format= (DATE_TIME_FORMAT *) my_malloc(key_memory_DATE_TIME_FORMAT,
|
||||
length, MYF(MY_WME));
|
||||
if (new_format)
|
||||
{
|
||||
/* Put format string after current pos */
|
||||
|
Reference in New Issue
Block a user