mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix a bogus UNIV_SYNC_DEBUG failure in the fix of Bug #59641
or Oracle Bug #11766513. trx_undo_free_prepared(): Do not acquire or release trx->rseg->mutex. This code is invoked in the single-threaded part of shutdown, therefore a mutex is not needed.
This commit is contained in:
parent
53271cfee3
commit
30835b55d5
1 changed files with 0 additions and 3 deletions
|
@ -1985,8 +1985,6 @@ trx_undo_free_prepared(
|
|||
/*===================*/
|
||||
trx_t* trx) /*!< in/out: PREPARED transaction */
|
||||
{
|
||||
mutex_enter(&trx->rseg->mutex);
|
||||
|
||||
ut_ad(srv_shutdown_state == SRV_SHUTDOWN_EXIT_THREADS);
|
||||
|
||||
if (trx->update_undo) {
|
||||
|
@ -2001,6 +1999,5 @@ trx_undo_free_prepared(
|
|||
trx->insert_undo);
|
||||
trx_undo_mem_free(trx->insert_undo);
|
||||
}
|
||||
mutex_exit(&trx->rseg->mutex);
|
||||
}
|
||||
#endif /* !UNIV_HOTBACKUP */
|
||||
|
|
Loading…
Reference in a new issue