16 #include <my_global.h>
20 Rpl_info::Rpl_info(
const char*
type
21 #ifdef HAVE_PSI_INTERFACE
22 ,PSI_mutex_key *param_key_info_run_lock,
23 PSI_mutex_key *param_key_info_data_lock,
24 PSI_mutex_key *param_key_info_sleep_lock,
25 PSI_mutex_key *param_key_info_data_cond,
26 PSI_mutex_key *param_key_info_start_cond,
27 PSI_mutex_key *param_key_info_stop_cond,
28 PSI_mutex_key *param_key_info_sleep_cond
33 #ifdef HAVE_PSI_INTERFACE
34 key_info_run_lock(param_key_info_run_lock),
35 key_info_data_lock(param_key_info_data_lock),
36 key_info_sleep_lock(param_key_info_sleep_lock),
37 key_info_data_cond(param_key_info_data_cond),
38 key_info_start_cond(param_key_info_start_cond),
39 key_info_stop_cond(param_key_info_stop_cond),
40 key_info_sleep_cond(param_key_info_sleep_cond),
42 info_thd(0), inited(0), abort_slave(0),
43 slave_running(0), slave_run_id(0),
44 handler(0), internal_id(param_id)
46 #ifdef HAVE_PSI_INTERFACE
48 &run_lock, MY_MUTEX_INIT_FAST);
50 &data_lock, MY_MUTEX_INIT_FAST);
52 &sleep_lock, MY_MUTEX_INIT_FAST);