Commit f6fcfc1a authored by Denis Protivensky's avatar Denis Protivensky Committed by Julius Goryavsky

MDEV-33064 amendment: replace trx->wsrep=0 with an assert in trx_rollback_for_mysql()

Signed-off-by: default avatarJulius Goryavsky <julius.goryavsky@mariadb.com>
parent cfbd57df
......@@ -219,7 +219,7 @@ dberr_t trx_rollback_for_mysql(trx_t* trx)
even if trx->state is TRX_STATE_NOT_STARTED. */
ut_ad(!(trx->lock.was_chosen_as_deadlock_victim & 1));
#ifdef WITH_WSREP
trx->wsrep= false;
ut_ad(!trx->is_wsrep());
trx->lock.was_chosen_as_deadlock_victim= false;
#endif
return(DB_SUCCESS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment