Marko Mäkelä
1bd0c9b531
Bug#12861864 RACE CONDITION IN BTR_GET_SIZE() AND DROP INDEX/TABLE/DATABASE
...
also filed as Bug#13146269, Bug#13713178
btr_get_size(): Add mtr_t parameter. Require that the caller S-latches
index->lock. If index->page==FIL_NULL or the index is to be dropped,
return ULINT_UNDEFINED to indicate that the statistics are
unavailable.
dict_update_statistics(): If btr_get_size() returns ULINT_UNDEFINED,
fake the index cardinality statistics.
dict_index_set_page(): Unused function, remove.
row_drop_table_for_mysql(): Before starting to drop the table, mark
the indexes unavailable in the data dictionary cache while holding
index->lock X-latch.
ha_innobase::prepare_drop_index(), ha_innobase::final_drop_index():
When setting index->to_be_dropped, acquire the index->lock X-latch.
rb:960 approved by Jimmy Yang
2012-02-28 14:00:00 +02:00
..
2012-02-28 14:00:00 +02:00
2011-08-15 12:11:43 +03:00
2012-02-17 11:42:04 +02:00
2012-02-17 11:42:04 +02:00
2011-11-08 14:15:22 +02:00
2011-11-08 14:15:22 +02:00
2011-10-12 09:00:49 +03:00
2009-05-27 15:15:59 +05:30
2011-10-12 09:00:49 +03:00
2011-06-17 16:20:20 -04:00
2011-06-17 16:20:20 -04:00
2012-02-17 11:42:04 +02:00
2012-02-17 11:42:04 +02:00
2010-10-19 09:04:15 +03:00
2009-05-27 15:15:59 +05:30
2011-06-17 16:20:20 -04:00
2009-05-27 15:15:59 +05:30
2009-10-08 16:58:37 +05:30
2011-06-17 16:20:20 -04:00
2010-12-21 11:39:19 +02:00
2010-12-21 11:39:19 +02:00
2009-07-30 17:42:56 +05:00
2010-04-01 17:01:22 +04:00
2009-05-27 15:15:59 +05:30
2010-08-04 03:11:33 -07:00
2010-05-24 14:04:39 +03:00
2009-05-27 15:15:59 +05:30
2009-10-08 14:43:16 +05:30
2009-05-27 15:15:59 +05:30
2012-02-28 14:00:00 +02:00
2012-02-28 14:00:00 +02:00
2010-08-04 03:11:33 -07:00
2009-05-27 15:15:59 +05:30
2012-02-28 14:00:00 +02:00
2009-05-27 15:15:59 +05:30
2011-01-17 14:06:48 +02:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2010-11-03 12:40:53 +11:00
2012-02-17 11:42:04 +02:00
2009-05-27 15:15:59 +05:30
2009-07-30 17:42:56 +05:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2011-10-12 09:00:49 +03:00
2011-10-12 09:00:49 +03:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2010-05-14 16:08:15 +03:00
2009-05-27 15:15:59 +05:30
2010-04-01 17:02:01 +04:00
2010-04-01 17:02:01 +04:00
2010-10-19 09:04:15 +03:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2010-06-02 13:37:14 +03:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2012-02-16 12:20:41 +02:00
2010-06-10 10:31:28 -04:00
2010-04-29 15:37:50 +02:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2010-05-19 11:07:43 +03:00
2010-04-01 15:59:25 +04:00
2010-04-01 15:59:25 +04:00
2010-04-01 15:59:25 +04:00
2011-12-28 12:19:30 +02:00
2010-07-28 03:20:44 -07:00
2009-05-27 15:15:59 +05:30
2009-07-30 17:42:56 +05:00
2009-07-30 17:42:56 +05:00
2012-02-17 11:42:04 +02:00
2012-02-17 11:42:04 +02:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2010-04-01 15:59:25 +04:00
2009-07-30 17:42:56 +05:00
2009-05-27 15:15:59 +05:30
2010-09-30 13:26:18 +03:00
2009-05-27 15:15:59 +05:30
2009-07-30 17:42:56 +05:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2011-06-16 10:27:21 +03:00
2012-02-17 11:42:04 +02:00
2012-02-17 11:42:04 +02:00
2009-05-27 15:15:59 +05:30
2011-02-08 12:56:23 +02:00
2009-07-30 17:42:56 +05:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-11-30 17:02:05 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2010-08-04 03:11:33 -07:00
2010-04-01 15:59:25 +04:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2011-01-14 09:02:28 -08:00
2011-01-14 09:02:28 -08:00
2011-06-16 11:51:04 +03:00
2011-06-16 11:51:04 +03:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2010-11-04 15:12:15 +02:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2010-10-19 09:04:15 +03:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2011-06-29 09:57:15 +03:00
2011-06-29 09:57:15 +03:00
2010-04-01 17:01:22 +04:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2011-01-31 09:56:51 +02:00
2011-10-12 09:00:49 +03:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-07-30 17:42:56 +05:00
2011-07-19 10:37:37 -04:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2011-03-30 14:25:58 +03:00
2009-05-27 15:15:59 +05:30
2011-10-04 09:21:47 -05:00
2011-10-05 12:01:47 +03:00
2011-10-12 09:00:49 +03:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-11-30 17:02:05 +05:30
2009-05-27 15:15:59 +05:30
2011-01-06 19:36:20 -08:00
2009-11-30 17:02:05 +05:30
2009-05-27 15:15:59 +05:30
2009-10-08 15:30:49 +05:30
2012-02-17 11:42:04 +02:00
2009-10-08 18:35:59 +05:30
2009-05-27 15:15:59 +05:30
2011-01-17 14:06:48 +02:00
2012-01-10 14:18:58 +09:00
2012-01-10 14:18:58 +09:00
2011-06-29 09:57:15 +03:00
2011-04-07 21:12:54 +03:00
2009-05-27 15:15:59 +05:30
2010-04-01 15:59:25 +04:00
2012-02-17 11:42:04 +02:00
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2011-12-28 12:19:30 +02:00
2009-11-30 17:02:05 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-10-09 17:49:13 +05:30
2009-10-08 17:48:19 +05:30
2009-10-08 17:48:19 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2009-05-27 15:15:59 +05:30
2011-12-28 12:19:30 +02:00
2011-08-10 14:56:14 +03:00
2010-04-01 16:56:22 +04:00
2009-05-27 15:15:59 +05:30
2011-12-21 21:33:13 -05:00
2009-05-27 15:15:59 +05:30
2009-10-12 17:30:56 +05:30
2009-05-27 15:15:59 +05:30
2010-11-30 20:11:26 +11:00
2010-11-30 20:11:26 +11:00
2009-05-27 15:15:59 +05:30