summaryrefslogtreecommitdiff
path: root/sql/log.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-09-04 12:22:09 +0200
committerunknown <knielsen@knielsen-hq.org>2013-09-04 12:22:09 +0200
commitada15c7a0f7947073664451c3804ab03723c657e (patch)
tree9a4366bccc5f87f1f8ad2700de1c4f5978ede620 /sql/log.h
parent378bd0442a62d1067d19c67dddc3d8b27fc8a537 (diff)
downloadmariadb-git-ada15c7a0f7947073664451c3804ab03723c657e.tar.gz
Fix various places where code would work incorrectly if the common_header_len of events is different on master and slave
Patch developed with the help of Pavel Ivanov. Also fix an uninitialised variable in queue_event().
Diffstat (limited to 'sql/log.h')
-rw-r--r--sql/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log.h b/sql/log.h
index 11b9cd289f7..051ee8ea068 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -712,6 +712,7 @@ public:
*/
bool appendv(const char* buf,uint len,...);
bool append(Log_event* ev);
+ bool append_no_lock(Log_event* ev);
void mark_xids_active(ulong cookie, uint xid_count);
void mark_xid_done(ulong cookie, bool write_checkpoint);