Skip to content

Commit 267d429

Browse files
Daniele SciasciaNirbhay Choubey
authored andcommitted
- Erronously removed call to wsrep_xid_init() in previous commit.
1 parent c0dac42 commit 267d429

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sql/wsrep_applier.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ static wsrep_cb_status_t wsrep_apply_events(THD* thd,
150150
/* Use the original server id for logging. */
151151
thd->set_server_id(ev->server_id);
152152
thd->set_time(); // time the query
153+
wsrep_xid_init(&thd->transaction.xid_state.xid,
154+
thd->wsrep_trx_meta.gtid.uuid,
155+
thd->wsrep_trx_meta.gtid.seqno);
153156
thd->lex->current_select= 0;
154157
if (!ev->when)
155158
{

0 commit comments

Comments
 (0)