MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:vasil.dimov Date:April 28 2010 10:36am
Subject:bzr commit into mysql-5.1-innodb branch (vasil.dimov:3430) Bug#53046
View as plain text  
#At file:///usr/local/devel/bzrroot/server/mysql-5.1-innodb/ based on revid:vasil.dimov@stripped

 3430 Vasil Dimov	2010-04-28
      Bug#53046 dict_update_statistics_low can still be run concurrently
      on same table
      
      Followup to vasil.dimov@stripped :
      
      Add more asserions, which I forgot.

    modified:
      storage/innodb_plugin/dict/dict0dict.c
=== modified file 'storage/innodb_plugin/dict/dict0dict.c'
--- a/storage/innodb_plugin/dict/dict0dict.c	2010-04-28 10:20:33 +0000
+++ b/storage/innodb_plugin/dict/dict0dict.c	2010-04-28 10:34:52 +0000
@@ -274,6 +274,11 @@ dict_index_stat_mutex_exit(
 /*=======================*/
 	const dict_index_t*	index)	/*!< in: index */
 {
+	ut_ad(index != NULL);
+	ut_ad(index->magic_n == DICT_INDEX_MAGIC_N);
+	ut_ad(index->cached);
+	ut_ad(!index->to_be_dropped);
+
 	mutex_exit(GET_INDEX_STAT_MUTEX(index));
 }
 


Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20100428103452-6btsq4xv6v1etb5b.bundle
Thread
bzr commit into mysql-5.1-innodb branch (vasil.dimov:3430) Bug#53046vasil.dimov28 Apr