From e52a237fe9a8884ce6da18436a4cf50cfd9dbd45 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 3 Jan 2018 18:51:24 +0100 Subject: remove ifdefs around PSI_THREAD_CALL same change as for PSI_TABLE_CALL --- mysys/my_thr_init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mysys/my_thr_init.c') diff --git a/mysys/my_thr_init.c b/mysys/my_thr_init.c index 678bfc459c7..42d144b3856 100644 --- a/mysys/my_thr_init.c +++ b/mysys/my_thr_init.c @@ -341,14 +341,12 @@ void my_thread_end(void) tmp, pthread_self(), tmp ? (long) tmp->id : 0L); #endif -#ifdef HAVE_PSI_INTERFACE /* Remove the instrumentation for this thread. This must be done before trashing st_my_thread_var, because the LF_HASH depends on it. */ - PSI_THREAD_CALL(delete_current_thread)(); -#endif + PSI_CALL_delete_current_thread(); /* We need to disable DBUG early for this thread to ensure that the -- cgit v1.2.1