Commit 16968abb 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 926498b0
...@@ -438,6 +438,8 @@ fill_trx_row( ...@@ -438,6 +438,8 @@ fill_trx_row(
which to copy volatile which to copy volatile
strings */ strings */
{ {
ut_ad(mutex_own(&kernel_mutex));
row->trx_id = trx_get_id(trx); row->trx_id = trx_get_id(trx);
row->trx_started = (ib_time_t) trx->start_time; row->trx_started = (ib_time_t) trx->start_time;
row->trx_state = trx_get_que_state_str(trx); 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