Skip to content

Commit d0ef948

Browse files
committed
Non-functional change: Remove #ifdef UNIV_DEBUG
1 parent c86773f commit d0ef948

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

storage/innobase/trx/trx0roll.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -809,12 +809,10 @@ void trx_rollback_recovered(bool all)
809809
trx_t *trx= trx_list.back();
810810
trx_list.pop_back();
811811

812-
#ifdef UNIV_DEBUG
813812
ut_ad(trx);
814-
trx_mutex_enter(trx);
813+
ut_d(trx_mutex_enter(trx));
815814
ut_ad(trx->is_recovered && trx_state_eq(trx, TRX_STATE_ACTIVE));
816-
trx_mutex_exit(trx);
817-
#endif
815+
ut_d(trx_mutex_exit(trx));
818816

819817
if (!srv_is_being_started && !srv_undo_sources && srv_fast_shutdown)
820818
goto discard;

0 commit comments

Comments
 (0)