Commit d0ef948d authored by Marko Mäkelä's avatar Marko Mäkelä

Non-functional change: Remove #ifdef UNIV_DEBUG

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