summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.h
diff options
context:
space:
mode:
authorLuis Soares <luis.soares@oracle.com>2010-10-13 08:26:50 +0100
committerLuis Soares <luis.soares@oracle.com>2010-10-13 08:26:50 +0100
commit54c308d37d4c1485cacc204ce845b665dc981579 (patch)
treea62ec7938edfad0d41a023cb3ea48644203bf17e /sql/rpl_rli.h
parent6739a84529dceff4497b05505b6678dbdc4ae661 (diff)
parent66a40d0b8ac73ece279d8a91e3da2aaa9f65ef09 (diff)
downloadmariadb-git-54c308d37d4c1485cacc204ce845b665dc981579.tar.gz
BUG 55263: automerged bzr bundle from bug report into
latest mysql-5.1-bugteam.
Diffstat (limited to 'sql/rpl_rli.h')
-rw-r--r--sql/rpl_rli.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h
index 87516c366fb..69988fe5995 100644
--- a/sql/rpl_rli.h
+++ b/sql/rpl_rli.h
@@ -94,6 +94,16 @@ public:
*/
MYSQL_BIN_LOG relay_log;
LOG_INFO linfo;
+
+ /*
+ cur_log
+ Pointer that either points at relay_log.get_log_file() or
+ &rli->cache_buf, depending on whether the log is hot or there was
+ the need to open a cold relay_log.
+
+ cache_buf
+ IO_CACHE used when opening cold relay logs.
+ */
IO_CACHE cache_buf,*cur_log;
/* The following variables are safe to read any time */