From 7c58e97bf6f80a251046c5b3e7bce826fe058bd6 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 29 Jan 2020 13:50:26 +0100 Subject: perfschema memory related instrumentation changes --- mysys/my_error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mysys/my_error.c') diff --git a/mysys/my_error.c b/mysys/my_error.c index cb1fbfe1c04..4c3cd1435ac 100644 --- a/mysys/my_error.c +++ b/mysys/my_error.c @@ -224,7 +224,8 @@ int my_error_register(const char** (*get_errmsgs)(int error), uint first, struct my_err_head **search_meh_pp; /* Allocate a new header structure. */ - if (! (meh_p= (struct my_err_head*) my_malloc(sizeof(struct my_err_head), + if (! (meh_p= (struct my_err_head*) my_malloc(key_memory_my_err_head, + sizeof(struct my_err_head), MYF(MY_WME)))) return 1; meh_p->get_errmsgs= get_errmsgs; -- cgit v1.2.1