summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorAndrei Elkin <andrei.elkin@mariadb.com>2019-08-26 14:05:33 +0300
committerAndrei Elkin <andrei.elkin@mariadb.com>2019-08-26 14:05:33 +0300
commitb3e381708f87e05b525ed393054d3253d5440fda (patch)
tree3f2fdb4e39711018d4f440f9456928bbd2c21e1f /sql/log_event.cc
parent21286d88d69952e75b46f9c67dc5297377ec53c3 (diff)
downloadmariadb-git-MDEV-742-xa_repl.tar.gz
MDEV-742 (intermediate commit)MDEV-742-xa_repl
typ == XID_EVENT || typ == XA_PREPARE_LOG_EVENT augmentation.
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index a56bd1b560d..56b3343fe68 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -9006,7 +9006,8 @@ int Xid_apply_log_event::do_apply_event(rpl_group_info *rgi)
rpl_gtid gtid;
/*
- XID_EVENT works like a COMMIT statement. And it also updates the
+ An instance of this class such as XID_EVENT works like a COMMIT
+ statement. As well as XA_PREPARE_LOG_EVENT it also updates
mysql.gtid_slave_pos table with the GTID of the current transaction.
Therefore, it acts much like a normal SQL statement, so we need to do