summaryrefslogtreecommitdiff
path: root/mysys/my_thr_init.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-01-03 18:51:24 +0100
committerAleksey Midenkov <midenok@gmail.com>2018-01-09 14:21:20 +0300
commite52a237fe9a8884ce6da18436a4cf50cfd9dbd45 (patch)
tree39bcab699be37e557b456926f5ce52c9685c60ec /mysys/my_thr_init.c
parente577b5667a3b3c6be030680d62e69ff539b97199 (diff)
downloadmariadb-git-e52a237fe9a8884ce6da18436a4cf50cfd9dbd45.tar.gz
remove ifdefs around PSI_THREAD_CALL
same change as for PSI_TABLE_CALL
Diffstat (limited to 'mysys/my_thr_init.c')
-rw-r--r--mysys/my_thr_init.c4
1 files changed, 1 insertions, 3 deletions
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