mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
remove ifdefs around PSI_THREAD_CALL
same change as for PSI_TABLE_CALL
This commit is contained in:
committed by
Aleksey Midenkov
parent
e577b5667a
commit
e52a237fe9
@@ -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
|
||||
|
Reference in New Issue
Block a user