I guess you are building with -DWITH_PERFSCHEMA_STORAGE_ENGINE=0. In which case the thread pool code should not access PSI_server members, because PSI is declared with the PSI_none type. E.g. all such code should be wrapped into
#ifdef HAVE_PSI_INTERFACE
I guess you are building with -DWITH_ PERFSCHEMA_ STORAGE_ ENGINE= 0. In which case the thread pool code should not access PSI_server members, because PSI is declared with the PSI_none type. E.g. all such code should be wrapped into
#ifdef HAVE_PSI_INTERFACE