Build fails in wsrep_mysqld.h when PFS is disabled

Bug #1272723 reported by Raghavendra D Prabhu on 2014-01-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
Undecided
Alex Yurchenko
5.6
Undecided
Alex Yurchenko
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Fix Released
Undecided
Unassigned
5.6
Fix Released
Undecided
Unassigned

Bug Description

Fixed here

revno: 689
committer: Raghavendra D Prabhu <email address hidden>
branch nick: pxc56
timestamp: Sat 2014-01-25 21:42:13 +0530
message:
  Add #ifdef HAVE_PSI_INTERFACE to fix builds with PFS disabled
diff:
=== modified file 'Percona-Server/sql/wsrep_mysqld.h'
--- Percona-Server/sql/wsrep_mysqld.h 2013-12-10 20:39:02 +0000
+++ Percona-Server/sql/wsrep_mysqld.h 2014-01-25 16:12:13 +0000
@@ -269,6 +269,7 @@
 extern rpl_sidno wsrep_sidno;
 extern my_bool wsrep_preordered_opt;

+#ifdef HAVE_PSI_INTERFACE
 extern PSI_mutex_key key_LOCK_wsrep_ready;
 extern PSI_mutex_key key_COND_wsrep_ready;
 extern PSI_mutex_key key_LOCK_wsrep_sst;
@@ -283,6 +284,7 @@
 extern PSI_cond_key key_COND_wsrep_replaying;
 extern PSI_mutex_key key_LOCK_wsrep_slave_threads;
 extern PSI_mutex_key key_LOCK_wsrep_desync;
+#endif

 struct TABLE_LIST;
 int wsrep_to_isolation_begin(THD *thd, char *db_, char *table_,

Alex Yurchenko (ayurchen) wrote :

committed to codership-mysql in r4039

Changed in codership-mysql:
milestone: none → 5.6.16-25.3
status: New → Fix Committed
Alex Yurchenko (ayurchen) wrote :

committed to codership-mysql/5.5 in r3948

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-1594

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers