summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 58e1281c179..0f74eb21029 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -3193,6 +3193,12 @@ public:
uint64 commit_id;
uint32 domain_id;
uchar flags2;
+ uint flags_extra; // more flags area placed after the regular flags2's one
+ /*
+ Extra (to binlog and a "base" engine) recoverable engines participating
+ in the transaction. Zero, when none.
+ */
+ uint extra_engines;
/* Flags2. */
@@ -3221,6 +3227,14 @@ public:
/* FL_DDL is set for event group containing DDL. */
static const uchar FL_DDL= 32;
+ /* Flags_extra. */
+
+ /*
+ FL_EXTRA_MULTI_ENGINE is set for event group comprising a transaction
+ involving multiple storage engines.
+ */
+ static const uchar FL_EXTRA_MULTI_ENGINE= 1;
+
#ifdef MYSQL_SERVER
Gtid_log_event(THD *thd_arg, uint64 seq_no, uint32 domain_id, bool standalone,
uint16 flags, bool is_transactional, uint64 commit_id);