diff options
author | unknown <sasha@mysql.sashanet.com> | 2002-03-30 12:36:05 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2002-03-30 12:36:05 -0700 |
commit | 5449b03bc83cc6917e47c4f50a630a189a595c3d (patch) | |
tree | ad398b75895850d75ea225d34b9dc052ac6d9f37 /sql/slave.h | |
parent | ef261914d3fdaaf25f1415b8625cc9ff89f9266a (diff) | |
download | mariadb-git-5449b03bc83cc6917e47c4f50a630a189a595c3d.tar.gz |
replication updates. This changeset seems to be working fine on test systems.
If no problems are discovered in the next week, this will make the replication
code ready for 4.0.2 release.
dbug/dbug.c:
cleanup of my previous fix
sql/mysqld.cc:
fixed a REALLY NASTY BUG - slave threads were being launched before
initialization of global thread keys. Thus if the slave thread was slow
to start everything worked fine, but if it started quickly, we would get
into trouble using the unitinialized keys
sql/net_pkg.cc:
make net_printf() work with 0 error code taking the third argument as
format string in that case
sql/slave.cc:
misc fix-ups and debugging instrumentations
sql/slave.h:
added skip_log_purge member
sql/sql_class.cc:
debugging instrumentation to track down random memory corruption
sql/sql_class.h:
added debugging sentry to THD to track down memory corruption
sql/sql_repl.cc:
fixed bugs in CHANGE MASTER
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h index 9d3f55cbfbf..7ae5da1a340 100644 --- a/sql/slave.h +++ b/sql/slave.h @@ -151,10 +151,13 @@ typedef struct st_relay_log_info char last_slave_error[MAX_SLAVE_ERRMSG]; THD* sql_thd; bool log_pos_current; + bool abort_pos_wait; + bool skip_log_purge; st_relay_log_info():info_fd(-1),cur_log_fd(-1),inited(0), cur_log_init_count(0), - log_pos_current(0) + log_pos_current(0),abort_pos_wait(0), + skip_log_purge(0) { relay_log_name[0] = master_log_name[0] = 0; bzero(&info_file,sizeof(info_file)); |