#At file:///usr/local/devel/bzrroot/server/mysql-trunk-innodb/ based on revid:vasil.dimov@stripped
3096 Vasil Dimov 2010-05-14
Add a debug assertion to make it clear that we expect
to own the kernel mutex in fill_trx_row().
modified:
storage/innobase/trx/trx0i_s.c
=== modified file 'storage/innobase/trx/trx0i_s.c'
--- a/storage/innobase/trx/trx0i_s.c revid:vasil.dimov@stripped
+++ b/storage/innobase/trx/trx0i_s.c revid:vasil.dimov@stripped
@@ -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);
Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20100514133832-unwj9x313jfvn5ev.bundle
| Thread |
|---|
| • bzr commit into mysql-trunk-innodb branch (vasil.dimov:3096) | vasil.dimov | 14 May |