summaryrefslogtreecommitdiff
path: root/sql/wsrep_hton.cc
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-02-23 00:30:47 -0500
committerNirbhay Choubey <nirbhay@mariadb.com>2016-02-23 00:30:47 -0500
commit15118d35612814ccf549ba49ed1200a7f8fa71c8 (patch)
treef54fa6393a93069c9683eb6d47ec54d8c1c8a038 /sql/wsrep_hton.cc
parentb633dbdac955c5a9bd3a589fac56763304cff4f9 (diff)
downloadmariadb-git-15118d35612814ccf549ba49ed1200a7f8fa71c8.tar.gz
refs codership/mysql-wsrep#237: Add sync point for mtr test.
Diffstat (limited to 'sql/wsrep_hton.cc')
-rw-r--r--sql/wsrep_hton.cc3
1 files changed, 3 insertions, 0 deletions
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 <cstdio>
#include <cstdlib>
+#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) {