mariadb/mysql-test/lib
Timothy Smith b3d77069e9 Apply InnoDB snapshot innodb-5.1-ss2858, part 4. Fixes
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
2008-12-14 13:31:13 -07:00
..
My WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
mtr_cases.pl Bug #37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 12:03:00 +03:00
mtr_diff.pl my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mtr_gcov.pl my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mtr_gprof.pl my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mtr_im.pl my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mtr_io.pl BUG#25659 - memory leak via "plugins" test 2007-05-21 17:48:29 +05:00
mtr_match.pl my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mtr_misc.pl WL#3949, second part. Added soft switching of the binlog format (w/o restart a server) 2007-11-20 19:55:51 +03:00
mtr_process.pl Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint 2007-08-03 12:52:31 +02:00
mtr_report.pl Apply InnoDB snapshot innodb-5.1-ss2858, part 4. Fixes 2008-12-14 13:31:13 -07:00
mtr_stress.pl my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mtr_timer.pl Remove unecessary use of "Socket" 2007-08-24 13:10:34 +02:00
mtr_unique.pl my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00