- Erronously removed call to wsrep_xid_init() in previous commit.
This commit is contained in:
Daniele Sciascia 2015-10-05 11:01:04 +02:00 committed by Nirbhay Choubey
parent c0dac420e5
commit 267d429b5a

View file

@ -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)
{