summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authormats@romeo.(none) <>2007-04-12 15:50:54 +0200
committermats@romeo.(none) <>2007-04-12 15:50:54 +0200
commit06faf8f411565ec41b6aa777bf35ae5e8417a30e (patch)
tree99bc39551e216b0f815a7d3af2d4237c7ed72cc9 /sql/log_event.h
parentc4b15b2e68bb8246711b9db29d65681fbc665ad7 (diff)
downloadmariadb-git-06faf8f411565ec41b6aa777bf35ae5e8417a30e.tar.gz
BUG#27779 (Slave cannot read old rows log events):
Taking code from before BUG#22583 and incorporating as events to be able to read old events. Also incorporating old pack and unpack functions into patch.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 51543291621..eac17565fe0 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -2427,7 +2427,7 @@ public:
return Rows_log_event::is_valid() && m_cols_ai.bitmap;
}
-private:
+protected:
virtual Log_event_type get_type_code() { return (Log_event_type)TYPE_CODE; }
#ifdef MYSQL_CLIENT
@@ -2498,7 +2498,7 @@ public:
}
#endif
-private:
+protected:
virtual Log_event_type get_type_code() { return (Log_event_type)TYPE_CODE; }
#ifdef MYSQL_CLIENT
@@ -2519,6 +2519,8 @@ private:
};
+#include "log_event_old.h"
+
/**
Class representing an incident, an occurance out of the ordinary,
that happened on the master.