Commit b79407c5 authored by Daniele Sciascia's avatar Daniele Sciascia Committed by Jan Lindström

MW-388 Remove unnecessary conditions

parent 958ad5a8
......@@ -5622,8 +5622,6 @@ case SQLCOM_PREPARE:
trans_rollback_stmt(thd);
#ifdef WITH_WSREP
else if (thd->spcont &&
!thd->is_error() &&
!thd->in_multi_stmt_transaction_mode() &&
(thd->wsrep_conflict_state == MUST_ABORT ||
thd->wsrep_conflict_state == CERT_FAILURE))
{
......
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