summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-04-25 07:33:02 -0600
committerunknown <sasha@mysql.sashanet.com>2002-04-25 07:33:02 -0600
commitd0dd3262a1b9c7e805a198cb3741569b4ac85b74 (patch)
tree0e0e30f0a1f8fe434cea545adf3c412429f6a6a7 /sql/slave.h
parentad54325ca86fb71226651fcf61971fb3e3535880 (diff)
downloadmariadb-git-d0dd3262a1b9c7e805a198cb3741569b4ac85b74.tar.gz
replication bugfixes
sql/slave.cc: removed buggy loop sql/slave.h: fixed uninited variable use
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h
index b70ca6f6d00..75e3e81e57f 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -160,6 +160,7 @@ typedef struct st_relay_log_info
st_relay_log_info():info_fd(-1),cur_log_fd(-1),inited(0),
cur_log_init_count(0),
+ abort_slave(0),slave_running(0),
log_pos_current(0),abort_pos_wait(0),
skip_log_purge(0)
{
@@ -280,7 +281,8 @@ typedef struct st_master_info
bool ignore_stop_event;
- st_master_info():fd(-1), io_thd(0), inited(0), old_format(0)
+ st_master_info():fd(-1), io_thd(0), inited(0), old_format(0),abort_slave(0),
+ slave_running(0)
{
host[0] = 0; user[0] = 0; password[0] = 0;
bzero(&file,sizeof(file));