summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2005-10-12 21:58:02 +0200
committerunknown <guilhem@mysql.com>2005-10-12 21:58:02 +0200
commit8b1a32aeadf22776e2e3f8d1f67ee32f0e1fd80d (patch)
treea42e8586944072e7730401a2c2d33f5f227c60c8 /sql/slave.h
parent3f11381b7c27dba3a0b387b642f4353c4d18cb7e (diff)
parent61dfc3347f013eadb46a5035cbf0479bcacc8f22 (diff)
downloadmariadb-git-8b1a32aeadf22776e2e3f8d1f67ee32f0e1fd80d.tar.gz
Merge mysql.com:/home/mysql_src/mysql-4.1
into mysql.com:/home/mysql_src/mysql-5.0; a very bad automerge (issues with non-ascii chars), plus some hard conflicts I'll fix by hand in a next cset BitKeeper/deleted/.del-compile-pentium64-valgrind-max: Delete: BUILD/compile-pentium64-valgrind-max BitKeeper/etc/config: Auto merged sql/log.cc: Auto merged sql/slave.h: Auto merged client/mysqltest.c: manual merge mysql-test/r/subselect.result: manual merge mysql-test/t/subselect.test: manual merge sql/log_event.cc: manual merge sql/log_event.h: manual merge sql/slave.cc: manual merge sql/sql_yacc.yy: manual merge
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/slave.h b/sql/slave.h
index cbb885ea48b..4d3c338680d 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -302,6 +302,17 @@ typedef struct st_relay_log_info
*/
ulong trans_retries, retried_trans;
+ /*
+ If the end of the hot relay log is made of master's events ignored by the
+ slave I/O thread, these two keep track of the coords (in the master's
+ binlog) of the last of these events seen by the slave I/O thread. If not,
+ ign_master_log_name_end[0] == 0.
+ As they are like a Rotate event read/written from/to the relay log, they
+ are both protected by rli->relay_log.LOCK_log.
+ */
+ char ign_master_log_name_end[FN_REFLEN];
+ ulonglong ign_master_log_pos_end;
+
st_relay_log_info();
~st_relay_log_info();