diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-08-23 15:36:38 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-08-23 15:36:38 +0200 |
commit | 6c3a756dd92af851f421bd9791d4b6b95063b484 (patch) | |
tree | 703dacbff5c8a639f3bde7cf21f0728c7332ff2d /mysys/waiting_threads.c | |
parent | df5aabba12844200fbb83f72e82239a106453e20 (diff) | |
download | mariadb-git-6c3a756dd92af851f421bd9791d4b6b95063b484.tar.gz |
MDEV-439 cmake -DWITHOUT_SERVER does not work
fix mysys/waiting_threads.c to compile w/o performance schema
include clients. scripts and manpages in -DWITHOUT_SERVER
Diffstat (limited to 'mysys/waiting_threads.c')
-rw-r--r-- | mysys/waiting_threads.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/waiting_threads.c b/mysys/waiting_threads.c index f7e74e012d2..0a9474e68b4 100644 --- a/mysys/waiting_threads.c +++ b/mysys/waiting_threads.c @@ -193,7 +193,9 @@ uint32 wt_success_stats; static my_atomic_rwlock_t cycle_stats_lock, wait_stats_lock, success_stats_lock; +#ifdef HAVE_PSI_INTERFACE extern PSI_cond_key key_WT_RESOURCE_cond; +#endif #ifdef SAFE_STATISTICS #define incr(VAR, LOCK) \ |