summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.h
diff options
context:
space:
mode:
authorLuis Soares <luis.soares@oracle.com>2010-10-13 11:08:39 +0100
committerLuis Soares <luis.soares@oracle.com>2010-10-13 11:08:39 +0100
commita7dc8179047e985a67d1e34b641ebd036bba4e08 (patch)
tree90e5328b77e8ac5eaa6a6938d7004247e331c7b7 /sql/rpl_rli.h
parent46f2610b26641928d5fdd131a97ee3f0346bed61 (diff)
parent5f31581fffa451fad8bea05eaa37c06a3d81f924 (diff)
downloadmariadb-git-a7dc8179047e985a67d1e34b641ebd036bba4e08.tar.gz
Automerge from mysql-5.1-bugteam into mysql-5.5-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 bf8381933c0..09b58d4f3a0 100644
--- a/sql/rpl_rli.h
+++ b/sql/rpl_rli.h
@@ -97,6 +97,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;
/*