From 15118d35612814ccf549ba49ed1200a7f8fa71c8 Mon Sep 17 00:00:00 2001 From: Nirbhay Choubey Date: Tue, 23 Feb 2016 00:30:47 -0500 Subject: refs codership/mysql-wsrep#237: Add sync point for mtr test. --- sql/wsrep_hton.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/wsrep_hton.cc b/sql/wsrep_hton.cc index 812d64c8c82..e5ff462eb19 100644 --- a/sql/wsrep_hton.cc +++ b/sql/wsrep_hton.cc @@ -22,6 +22,7 @@ #include "wsrep_xid.h" #include #include +#include "debug_sync.h" extern ulonglong thd_to_trx_id(THD *thd); @@ -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) { -- cgit v1.2.1