[Commits] Rev 4177: Fix that gap locks are only skipped within one group commit. in http://bazaar.launchpad.net/~maria-captains/maria/10.0

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Fri Jul 4 08:44:55 EEST 2014


At http://bazaar.launchpad.net/~maria-captains/maria/10.0

------------------------------------------------------------
revno: 4177
revision-id: knielsen at knielsen-hq.org-20140704054455-m34a8csw61hh6up7
parent: knielsen at knielsen-hq.org-20140610081315-o5nx3u32uvqaai7q
committer: Kristian Nielsen <knielsen at knielsen-hq.org>
branch nick: tmp-10.0
timestamp: Fri 2014-07-04 07:44:55 +0200
message:
  Fix that gap locks are only skipped within one group commit.
=== modified file 'sql/sql_class.cc'
--- a/sql/sql_class.cc	2014-06-10 08:13:15 +0000
+++ b/sql/sql_class.cc	2014-07-04 05:44:55 +0000
@@ -4277,6 +4277,8 @@ thd_need_ordering_with(const MYSQL_THD t
     return 1;
   if (rgi->current_gtid.domain_id != other_rgi->current_gtid.domain_id)
     return 1;
+  if (rgi->commit_id != other_rgi->commit_id)
+    return 1;
   /*
     These two threads are doing parallel replication within the same
     replication domain. Their commit order is already fixed, so we do not need



More information about the commits mailing list