summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-07-07 12:43:10 +0400
committerAlexander Barkov <bar@mariadb.org>2017-07-07 12:43:10 +0400
commit8b2c7c9444db2369d2ecdaa1f14fbc8826a8fb39 (patch)
tree72fa33f92344a89792845bab9225cef56b4138c4 /sql/log_event.h
parent3f327432942ef5db14dd905ffd147f234dc74bfb (diff)
parent3b862aaa10942e7405b90cf80d0c3baca4cda55d (diff)
downloadmariadb-git-8b2c7c9444db2369d2ecdaa1f14fbc8826a8fb39.tar.gz
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 3497ffab26d..6f71784cfea 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -4425,6 +4425,7 @@ public:
void set_flags(flag_set flags_arg) { m_flags |= flags_arg; }
void clear_flags(flag_set flags_arg) { m_flags &= ~flags_arg; }
flag_set get_flags(flag_set flags_arg) const { return m_flags & flags_arg; }
+ void update_flags() { int2store(temp_buf + m_flags_pos, m_flags); }
Log_event_type get_type_code() { return m_type; } /* Specific type (_V1 etc) */
enum_logged_status logged_status() { return LOGGED_ROW_EVENT; }
@@ -4584,6 +4585,7 @@ protected:
uchar *m_rows_end; /* One-after the end of the allocated space */
size_t m_rows_before_size; /* The length before m_rows_buf */
+ size_t m_flags_pos; /* The position of the m_flags */
flag_set m_flags; /* Flags for row-level events */