From: vasil.dimov Date: July 11 2012 2:30pm Subject: bzr push into mysql-5.6 branch (vasil.dimov:4011 to 4012) List-Archive: http://lists.mysql.com/commits/144423 Message-Id: <20120711143042.9AF032E0DF@mail.v5d.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 4012 Vasil Dimov 2012-07-11 Remove a redundant call to dict_stats_wait_bg_to_stop_using_tables() from row_drop_table_for_mysql(). Initially that call was there, then Marko moved it inside an "if (nonatomic)" condition to fix a bug, but nearly at the same time Kevin did a merge and as a result of that merge we got that function called twice - once in the "if (nonatomic)" condition and once after it, so Marko's fix was effectively defeated. modified: storage/innobase/row/row0mysql.cc 4011 Bjorn Munch 2012-07-11 [merge] Empty version change upmerge === modified file 'storage/innobase/row/row0mysql.cc' --- a/storage/innobase/row/row0mysql.cc revid:bjorn.munch@stripped +++ b/storage/innobase/row/row0mysql.cc revid:vasil.dimov@stripped @@ -3724,8 +3724,6 @@ row_drop_table_for_mysql( fil_delete_link_file(name); } - dict_stats_wait_bg_to_stop_using_tables(table, NULL, trx); - dict_stats_remove_table_from_auto_recalc(table); /* Remove stats for this table and all of its indexes from the No bundle (reason: useless for push emails).