mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
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
This commit is contained in:
parent
d3a7ef9913
commit
73c92b1408
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue