[Commits] Rev 4512: MDEV-6676: Speculative parallel replication: Intermediate commit in http://bazaar.launchpad.net/~maria-captains/maria/10.0

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Thu Nov 13 16:26:20 EET 2014


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

------------------------------------------------------------
revno: 4512
revision-id: knielsen at knielsen-hq.org-20141015114013-jfatzrzb2ncq07q3
parent: knielsen at knielsen-hq.org-20141014123726-bgpovrrylimu37wp
committer: Kristian Nielsen <knielsen at knielsen-hq.org>
branch nick: work-10.0-mdev6676
timestamp: Wed 2014-10-15 13:40:13 +0200
message:
  MDEV-6676: Speculative parallel replication: Intermediate commit
  
  Fix embarrasing "brown paper bag" bug with reverse test for DDL.
=== modified file 'sql/rpl_parallel.cc'
--- a/sql/rpl_parallel.cc	2014-10-08 07:56:52 +0000
+++ b/sql/rpl_parallel.cc	2014-10-15 11:40:13 +0000
@@ -2068,7 +2068,7 @@ rpl_parallel::do_event(rpl_group_info *s
           e->last_commit_id != gtid_ev->commit_id)
         flags|= group_commit_orderer::MULTI_BATCH;
       /* Make sure we do not attempt to run DDL in parallel speculatively. */
-      if (!(gtid_flags & Gtid_log_event::FL_DDL))
+      if (gtid_flags & Gtid_log_event::FL_DDL)
         flags|= (force_switch_flag= group_commit_orderer::FORCE_SWITCH);
 
       if (!(flags & group_commit_orderer::MULTI_BATCH))



More information about the commits mailing list