Commit f37a53dc authored by Sunny Bains's avatar Sunny Bains

Fix bug#55699 - Assertion failure in innodb plugin with large number of threads

      
Fix a debug assertion that was missed in svnrev:2380 (fix for Bug# 35352).

Approved by Marko on IRC
parent 9ef23b79
...@@ -1938,7 +1938,8 @@ trx_undo_update_cleanup( ...@@ -1938,7 +1938,8 @@ trx_undo_update_cleanup(
UT_LIST_ADD_FIRST(undo_list, rseg->update_undo_cached, undo); UT_LIST_ADD_FIRST(undo_list, rseg->update_undo_cached, undo);
} else { } else {
ut_ad(undo->state == TRX_UNDO_TO_PURGE); ut_ad(undo->state == TRX_UNDO_TO_PURGE
|| undo->state == TRX_UNDO_TO_FREE);
trx_undo_mem_free(undo); trx_undo_mem_free(undo);
} }
......
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