Skip to content

Commit

Permalink
refs codership/mysql-wsrep#237: Add sync point for mtr test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirbhay Choubey committed Feb 23, 2016
1 parent b633dbd commit 15118d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sql/wsrep_hton.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "wsrep_xid.h"
#include <cstdio>
#include <cstdlib>
#include "debug_sync.h"

extern ulonglong thd_to_trx_id(THD *thd);

Expand Down Expand Up @@ -321,6 +322,8 @@ wsrep_run_wsrep_commit(THD *thd, handlerton *hton, bool all)

DBUG_ENTER("wsrep_run_wsrep_commit");

DEBUG_SYNC(thd, "wsrep_before_replication");

if (thd->slave_thread && !opt_log_slave_updates) DBUG_RETURN(WSREP_TRX_OK);

if (thd->wsrep_exec_mode == REPL_RECV) {
Expand Down

0 comments on commit 15118d3

Please sign in to comment.