List:Commits« Previous MessageNext Message »
From:vasil.dimov Date:May 14 2010 1:39pm
Subject:bzr commit into mysql-trunk-innodb branch (vasil.dimov:3096)
View as plain text  
#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 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/
bzr commit into mysql-trunk-innodb branch (vasil.dimov:3096) vasil.dimov14 May