Skip to content

Commit

Permalink
Merge pull request #70 from kennt-percona/3.x-5.7-buildfix
Browse files Browse the repository at this point in the history
build fix
  • Loading branch information
kbauskar authored Jul 26, 2016
2 parents 595d7a4 + d090daf commit d8c56aa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions galera/src/ist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,12 @@ namespace galera
AsyncSenderMap(GCS_IMPL& gcs, gcache::GCache& gcache)
:
senders_(),
#ifdef HAVE_PSI_INTERFACE
monitor_(WSREP_PFS_INSTR_TAG_ASYNC_SENDER_MONITOR_MUTEX,
WSREP_PFS_INSTR_TAG_ASYNC_SENDER_MONITOR_CONDVAR),
#else
monitor_(),
#endif /* HAVE_PSI_INTERFACE */
gcache_(gcache) { }
void run(const gu::Config& conf,
const std::string& peer,
Expand Down
6 changes: 6 additions & 0 deletions galera/src/replicator_smm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,18 @@ galera::ReplicatorSMM::ReplicatorSMM(const struct wsrep_init_args* args)
ist_senders_ (gcs_, gcache_),
wsdb_ (),
cert_ (config_, service_thd_),
#ifdef HAVE_PSI_INTERFACE
local_monitor_ (WSREP_PFS_INSTR_TAG_LOCAL_MONITOR_MUTEX,
WSREP_PFS_INSTR_TAG_LOCAL_MONITOR_CONDVAR),
apply_monitor_ (WSREP_PFS_INSTR_TAG_APPLY_MONITOR_MUTEX,
WSREP_PFS_INSTR_TAG_APPLY_MONITOR_CONDVAR),
commit_monitor_ (WSREP_PFS_INSTR_TAG_COMMIT_MONITOR_MUTEX,
WSREP_PFS_INSTR_TAG_COMMIT_MONITOR_CONDVAR),
#else
local_monitor_ (),
apply_monitor_ (),
commit_monitor_ (),
#endif /* HAVE_PSI_INTERFACE */
causal_read_timeout_(config_.get(Param::causal_read_timeout)),
receivers_ (),
replicated_ (),
Expand Down
4 changes: 4 additions & 0 deletions galera/tests/ist_check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,12 @@ struct trx_thread_args
trx_thread_args(galera::ist::Receiver& receiver)
:
receiver_(receiver),
#ifdef HAVE_PSI_INTERFACE
monitor_(WSREP_PFS_INSTR_TAG_IST_RECEIVER_MONITOR_MUTEX,
WSREP_PFS_INSTR_TAG_IST_RECEIVER_MONITOR_CONDVAR)
#else
monitor_()
#endif /* HAVE_PSI_INTERFACE */
{ }
};

Expand Down

0 comments on commit d8c56aa

Please sign in to comment.