summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/slave.h b/sql/slave.h
index c59ab03c275..790205a1105 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -152,6 +152,7 @@ typedef struct st_relay_log_info
errors, and have been manually applied by DBA already.
*/
volatile uint32 slave_skip_counter;
+ volatile ulong abort_pos_wait; /* Incremented on change master */
pthread_mutex_t log_space_lock;
pthread_cond_t log_space_cond;
THD * sql_thd;
@@ -165,13 +166,12 @@ typedef struct st_relay_log_info
bool inited;
volatile bool abort_slave, slave_running;
bool log_pos_current;
- bool abort_pos_wait;
bool skip_log_purge;
st_relay_log_info()
- :info_fd(-1),cur_log_fd(-1), cur_log_old_open_count(0),
+ :info_fd(-1),cur_log_fd(-1), cur_log_old_open_count(0), abort_pos_wait(0),
inited(0), abort_slave(0), slave_running(0), log_pos_current(0),
- abort_pos_wait(0), skip_log_purge(0)
+ skip_log_purge(0)
{
relay_log_name[0] = master_log_name[0] = 0;
bzero(&info_file,sizeof(info_file));