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).
| Thread |
|---|
| • bzr push into mysql-5.6 branch (vasil.dimov:4011 to 4012) | vasil.dimov | 11 Jul |