List:Commits« Previous MessageNext Message »
From:Sunny Bains Date:June 10 2010 3:21am
Subject:bzr commit into mysql-5.6-innodb branch (Sunny.Bains:3138)
View as plain text  
#At file:///Users/sunny/innodb/bzr-new/5.6/ based on revid:sunny.bains@stripped

 3138 Sunny Bains	2010-06-10
      Remove unnecessary assertions about mutexes.

    modified:
      storage/innobase/include/univ.i
      storage/innobase/lock/lock0lock.c
=== modified file 'storage/innobase/include/univ.i'
--- a/storage/innobase/include/univ.i	revid:sunny.bains@stripped
+++ b/storage/innobase/include/univ.i	revid:sunny.bains@stripped
@@ -236,8 +236,8 @@ operations (very slow); also UNIV_DEBUG 
 #define UNIV_BTR_DEBUG				/* check B-tree links */
 #define UNIV_LIGHT_MEM_DEBUG			/* light memory debugging */
 
-//#define UNIV_DEBUG
-//#define UNIV_SYNC_DEBUG
+#define UNIV_DEBUG
+#define UNIV_SYNC_DEBUG
 
 #ifdef HAVE_purify
 /* The following sets all new allocated memory to zero before use:

=== modified file 'storage/innobase/lock/lock0lock.c'
--- a/storage/innobase/lock/lock0lock.c	revid:sunny.bains@stripped
+++ b/storage/innobase/lock/lock0lock.c	revid:sunny.bains@stripped
@@ -4049,8 +4049,6 @@ lock_release(
 	lock_t*		lock;
 
 	ut_ad(lock_mutex_own());
-	ut_ad(trx_mutex_own(trx));
-	ut_ad(trx_sys_mutex_own());
 
 	for (lock = UT_LIST_GET_LAST(trx->lock.trx_locks);
 	     lock != NULL;


Attachment: [text/bzr-bundle] bzr/sunny.bains@oracle.com-20100610032137-wqcmw2890r12lld2.bundle
Thread
bzr commit into mysql-5.6-innodb branch (Sunny.Bains:3138) Sunny Bains10 Jun