Non-functional change: Remove #ifdef UNIV_DEBUG

This commit is contained in:
Marko Mäkelä 2019-02-22 17:06:12 +02:00
parent c86773f46f
commit d0ef948d70

View File

@ -809,12 +809,10 @@ void trx_rollback_recovered(bool all)
trx_t *trx= trx_list.back();
trx_list.pop_back();
#ifdef UNIV_DEBUG
ut_ad(trx);
trx_mutex_enter(trx);
ut_d(trx_mutex_enter(trx));
ut_ad(trx->is_recovered && trx_state_eq(trx, TRX_STATE_ACTIVE));
trx_mutex_exit(trx);
#endif
ut_d(trx_mutex_exit(trx));
if (!srv_is_being_started && !srv_undo_sources && srv_fast_shutdown)
goto discard;