I think it's OK to lose the m_lock_done/m_cond_done accounting until the upstream fix.
Please move down PSI_thread *psi_thread declaration to the first #ifdef HAVE_PSI_THREAD_INTERFACE block (now we'd have a new build warning if someone builds without PFS)
I think it's OK to lose the m_lock_ done/m_ cond_done accounting until the upstream fix.
Please move down PSI_thread *psi_thread declaration to the first #ifdef HAVE_PSI_ THREAD_ INTERFACE block (now we'd have a new build warning if someone builds without PFS)