mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
refs codership/mysql-wsrep#237: Add sync point for mtr test.
This commit is contained in:
parent
b633dbdac9
commit
15118d3561
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue