summaryrefslogtreecommitdiff
path: root/storage/innobase/trx/trx0trx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/trx/trx0trx.cc')
-rw-r--r--storage/innobase/trx/trx0trx.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/trx/trx0trx.cc b/storage/innobase/trx/trx0trx.cc
index 95bc6273e48..a8f8d7dcc79 100644
--- a/storage/innobase/trx/trx0trx.cc
+++ b/storage/innobase/trx/trx0trx.cc
@@ -1379,9 +1379,8 @@ TRANSACTIONAL_INLINE inline void trx_t::commit_in_memory(const mtr_t *mtr)
wsrep= false;
wsrep_commit_ordered(mysql_thd);
}
- ut_ad(!(lock.was_chosen_as_deadlock_victim & byte(~2U)));
- lock.was_chosen_as_deadlock_victim= false;
#endif /* WITH_WSREP */
+ lock.was_chosen_as_deadlock_victim= false;
}
void trx_t::commit_cleanup()