summaryrefslogtreecommitdiff
path: root/sql/wsrep_applier.cc
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2015-10-05 11:01:04 +0200
committerNirbhay Choubey <nirbhay@mariadb.com>2016-02-22 16:22:50 -0500
commit267d429b5a0628e73fdbd95d1934e093adcdb296 (patch)
tree27b83750edc9a7aa214406bfb0ab521310932288 /sql/wsrep_applier.cc
parentc0dac420e5d5cfd14d1f6fea12288da4d29617ca (diff)
downloadmariadb-git-267d429b5a0628e73fdbd95d1934e093adcdb296.tar.gz
refs codership/mysql-wsrep#31
- Erronously removed call to wsrep_xid_init() in previous commit.
Diffstat (limited to 'sql/wsrep_applier.cc')
-rw-r--r--sql/wsrep_applier.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/wsrep_applier.cc b/sql/wsrep_applier.cc
index 5cfc9981342..520e63f3077 100644
--- a/sql/wsrep_applier.cc
+++ b/sql/wsrep_applier.cc
@@ -150,6 +150,9 @@ static wsrep_cb_status_t wsrep_apply_events(THD* thd,
/* Use the original server id for logging. */
thd->set_server_id(ev->server_id);
thd->set_time(); // time the query
+ wsrep_xid_init(&thd->transaction.xid_state.xid,
+ thd->wsrep_trx_meta.gtid.uuid,
+ thd->wsrep_trx_meta.gtid.seqno);
thd->lex->current_select= 0;
if (!ev->when)
{