mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
b3d77069e9
Bug #39438: Testcase for Bug#39436 crashes on 5.1 in fil_space_get_latch Detailed revision comments: r2719 | vasil | 2008-10-03 18:17:28 +0300 (Fri, 03 Oct 2008) | 49 lines branches/5.1: Fix Bug#39438 Testcase for Bug#39436 crashes on 5.1 in fil_space_get_latch In ha_innobase::info() - do not try to get the free space for a tablespace which has been discarded with ALTER TABLE ... DISCARD TABLESPACE or if the .ibd file is missing for some other reason. ibd_file_missing and tablespace_discarded are manipulated only in row_discard_tablespace_for_mysql() and in row_import_tablespace_for_mysql() and the manipulation is protected/surrounded by row_mysql_lock_data_dictionary()/row_mysql_unlock_data_dictionary() thus we do the same in ha_innobase::info() when checking the values of those members to avoid race conditions. I have tested the code-path with UNIV_DEBUG and UNIV_SYNC_DEBUG. rb://20 Reviewed by: Inaam, Calvin Approved by: Heikki |
||
---|---|---|
.. | ||
My | ||
mtr_cases.pl | ||
mtr_diff.pl | ||
mtr_gcov.pl | ||
mtr_gprof.pl | ||
mtr_im.pl | ||
mtr_io.pl | ||
mtr_match.pl | ||
mtr_misc.pl | ||
mtr_process.pl | ||
mtr_report.pl | ||
mtr_stress.pl | ||
mtr_timer.pl | ||
mtr_unique.pl |