1
0
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:
Vasil Dimov
2010-05-14 16:38:32 +03:00
parent 0ad0827fde
commit 1256e16611

View File

@@ -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);