mirror of
https://github.com/MariaDB/server.git
synced 2025-10-27 05:56:07 +03:00
Add a debug assertion to make it clear that we expect
to own the kernel mutex in fill_trx_row().
This commit is contained in:
@@ -438,6 +438,8 @@ fill_trx_row(
|
||||
which to copy volatile
|
||||
strings */
|
||||
{
|
||||
ut_ad(mutex_own(&kernel_mutex));
|
||||
|
||||
row->trx_id = trx_get_id(trx);
|
||||
row->trx_started = (ib_time_t) trx->start_time;
|
||||
row->trx_state = trx_get_que_state_str(trx);
|
||||
|
||||
Reference in New Issue
Block a user