1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MDEV-4685 Compile error on LFS

fix the code to compile w/o perfomance schema
This commit is contained in:
Sergei Golubchik
2013-06-22 14:02:03 +02:00
parent 7cc7710679
commit 7c61679c4e
5 changed files with 24 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ static bool threadpool_started= false;
*/
#ifdef HAVE_PSI_INTERFACE
static PSI_mutex_key key_group_mutex;
static PSI_mutex_key key_timer_mutex;
static PSI_mutex_info mutex_list[]=
@@ -79,6 +80,9 @@ static PSI_thread_info thread_list[] =
/* Macro to simplify performance schema registration */
#define PSI_register(X) \
if(PSI_server) PSI_server->register_ ## X("threadpool", X ## _list, array_elements(X ## _list))
#else
#define PSI_register(X) /* no-op */
#endif
struct thread_group_t;