diff options
Diffstat (limited to 'sql/wsrep_thd.cc')
-rw-r--r-- | sql/wsrep_thd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_thd.cc b/sql/wsrep_thd.cc index 50f0376f674..f5cce69b1d0 100644 --- a/sql/wsrep_thd.cc +++ b/sql/wsrep_thd.cc @@ -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); |