mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
branches/zip: trx_lists_init_at_db_start(): Assert that the kernel_mutex
is held by the caller.
This commit is contained in:
parent
bc36c8eb58
commit
644e7188ae
1 changed files with 1 additions and 0 deletions
|
@ -425,6 +425,7 @@ trx_lists_init_at_db_start(void)
|
|||
trx_undo_t* undo;
|
||||
trx_t* trx;
|
||||
|
||||
ut_ad(mutex_own(&kernel_mutex));
|
||||
UT_LIST_INIT(trx_sys->trx_list);
|
||||
|
||||
/* Look from the rollback segments if there exist undo logs for
|
||||
|
|
Loading…
Reference in a new issue