Commit 1256e166 authored by Vasil Dimov's avatar Vasil Dimov

Add a debug assertion to make it clear that we expect

to own the kernel mutex in fill_trx_row().
parent 0ad0827f
......@@ -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);
......
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