mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-19826: Avoid unused variable in cmake -DPLUGIN_PERFSCHEMA=NO
This commit is contained in:
parent
d0b74bbacc
commit
368e64aaed
1 changed files with 1 additions and 1 deletions
|
@ -455,8 +455,8 @@ void wsrep_delete_threadvars()
|
|||
DBUG_ASSERT(pthread_getspecific(THR_KEY_mysys));
|
||||
/* Reset psi state to avoid deallocating applier thread
|
||||
psi_thread. */
|
||||
PSI_thread *psi_thread= PSI_CALL_get_thread();
|
||||
#ifdef HAVE_PSI_INTERFACE
|
||||
PSI_thread *psi_thread= PSI_CALL_get_thread();
|
||||
if (PSI_server)
|
||||
{
|
||||
PSI_server->set_thread(0);
|
||||
|
|
Loading…
Reference in a new issue