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
commit5f31581fffa451fad8bea05eaa37c06a3d81f924 (patch)
treea62ec7938edfad0d41a023cb3ea48644203bf17e /sql/rpl_rli.h
parent0e5d43cd81c7db32a7e37c14af6c26717336702f (diff)
parentf17cc60413d38b4576f4fc287b2107daff801c34 (diff)
downloadmariadb-git-5f31581fffa451fad8bea05eaa37c06a3d81f924.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 */