Commit 644e7188 authored by marko's avatar marko

branches/zip: trx_lists_init_at_db_start(): Assert that the kernel_mutex

is held by the caller.
parent bc36c8eb
...@@ -425,6 +425,7 @@ trx_lists_init_at_db_start(void) ...@@ -425,6 +425,7 @@ trx_lists_init_at_db_start(void)
trx_undo_t* undo; trx_undo_t* undo;
trx_t* trx; trx_t* trx;
ut_ad(mutex_own(&kernel_mutex));
UT_LIST_INIT(trx_sys->trx_list); UT_LIST_INIT(trx_sys->trx_list);
/* Look from the rollback segments if there exist undo logs for /* Look from the rollback segments if there exist undo logs for
......
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