From: vasil.dimov Date: August 21 2012 12:38pm Subject: bzr push into mysql-trunk branch (vasil.dimov:4265 to 4266) List-Archive: http://lists.mysql.com/commits/144591 Message-Id: <20120821123857.4C9BC2E0F2@mail.v5d.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 4266 Vasil Dimov 2012-08-21 Register the mutex which protects "recalc_pool" in dict0stats_bg.cc with all_innodb_mutexes[]. Spotted by: Sunny modified: storage/innobase/dict/dict0stats_bg.cc storage/innobase/handler/ha_innodb.cc storage/innobase/include/dict0stats_bg.h 4265 Jimmy Yang 2012-08-21 [merge] Merge from mysql-5.6 to mysql-trunk modified: mysql-test/suite/innodb/r/innodb-index-online-fk.result mysql-test/suite/innodb/r/innodb-index.result mysql-test/suite/innodb/t/innodb-index-online-fk.test mysql-test/suite/innodb/t/innodb-index.test storage/innobase/dict/dict0dict.cc storage/innobase/handler/handler0alter.cc === modified file 'storage/innobase/dict/dict0stats_bg.cc' --- a/storage/innobase/dict/dict0stats_bg.cc revid:jimmy.yang@stripped +++ b/storage/innobase/dict/dict0stats_bg.cc revid:vasil.dimov@stripped @@ -52,7 +52,7 @@ UNIV_INTERN os_event_t dict_stats_event /** This mutex protects the "recalc_pool" variable. */ static ib_mutex_t recalc_pool_mutex; #ifdef HAVE_PSI_INTERFACE -static mysql_pfs_key_t recalc_pool_mutex_key; +UNIV_INTERN mysql_pfs_key_t dict_stats_recalc_pool_mutex_key; #endif /* HAVE_PSI_INTERFACE */ /** The number of tables that can be added to "recalc_pool" before @@ -238,7 +238,7 @@ dict_stats_thread_init() and dict_operation_lock (SYNC_DICT_OPERATION) have been locked (thus a level