summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2020-03-10 01:22:21 +0300
committerSergei Petrunia <psergey@askmonty.org>2020-03-10 11:22:33 +0300
commit26cf4e69882ff7de2c2b7b5d40eefcf8744024f0 (patch)
tree29f08f92fc5f6ee83853a256c88e47e11ffa637f
parent46bfebbb978de57a92d480c79cc627cb4a0e5129 (diff)
downloadmariadb-git-26cf4e69882ff7de2c2b7b5d40eefcf8744024f0.tar.gz
Fix compile failure: P_S-related code should be inside #ifdef
-rw-r--r--storage/xpand/ha_xpand.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/xpand/ha_xpand.cc b/storage/xpand/ha_xpand.cc
index bd16a6e2722..3c8c891f51d 100644
--- a/storage/xpand/ha_xpand.cc
+++ b/storage/xpand/ha_xpand.cc
@@ -73,7 +73,9 @@ static MYSQL_SYSVAR_ENUM
);
//current list of clx hosts
+#ifdef HAVE_PSI_INTERFACE
static PSI_rwlock_key key_xpand_hosts;
+#endif
mysql_rwlock_t xpand_hosts_lock;
xpand_host_list *xpand_hosts;