From 267d429b5a0628e73fdbd95d1934e093adcdb296 Mon Sep 17 00:00:00 2001 From: Daniele Sciascia Date: Mon, 5 Oct 2015 11:01:04 +0200 Subject: [PATCH] refs codership/mysql-wsrep#31 - Erronously removed call to wsrep_xid_init() in previous commit. --- sql/wsrep_applier.cc | 3 +++ 1 file changed, 3 insertions(+) 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) {