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
commite760a4d8ab820e5072149b2c1e86bb0a42f85171 (patch)
tree90e5328b77e8ac5eaa6a6938d7004247e331c7b7 /sql/rpl_rli.h
parent609bc2c4077f4c1244763a796aa52a5d9d363e15 (diff)
parent54c308d37d4c1485cacc204ce845b665dc981579 (diff)
downloadmariadb-git-e760a4d8ab820e5072149b2c1e86bb0a42f85171.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;
/*