mariadb/storage/innobase/trx
Marko Mäkelä 3c50661f41 Bug#16720368 INNODB IGNORES *.IBD FILE BREAKAGE AT STARTUP
After a clean shutdown, InnoDB will not check the *.ibd file headers,
for maximum performance. This is unchanged before and after this
patch.

What this fix addresses is the case when crash recovery is
needed. Previously, InnoDB could load a corrupted tablespace file.

buf_page_is_corrupted(): Add the parameter check_lsn.

fil_check_first_page(): New function, to perform a consistency check
on the first page of a file. This can be overridden by setting
innodb_force_recovery.

fil_read_first_page(), fil_open_single_table_tablespace(),
fil_load_single_table_tablespace(): Invoke fil_check_first_page().

open_or_create_data_files(): Check the status of
fil_open_single_table_tablespace().

rb#2352 approved by Jimmy Yang
2013-04-30 13:39:50 +03:00
..
trx0i_s.c Merge mysql-5.1-innodb -> mysql-5.5-innodb 2011-03-28 12:05:02 +03:00
trx0purge.c Bug#59354 : Bug #12659252 : ASSERT !OTHER_LOCK AT LOCK_REC_ADD_TO_QUEUE DURING A DELETE OPERATION 2012-11-28 17:07:02 +09:00
trx0rec.c UNIV_DEBUG build of some environments needs 2012-12-04 12:32:58 +09:00
trx0roll.c Bug 12323643 - CLEAN UP THE INNODB THREAD SHUTDOWN AND ASSERTIONS (WL#5136) 2011-04-05 10:18:43 +03:00
trx0rseg.c Bug #11766227: InnoDB purge lag much worse for 5.5.8 versus 5.1 2011-02-22 16:04:08 +11:00
trx0sys.c Bug#16720368 INNODB IGNORES *.IBD FILE BREAKAGE AT STARTUP 2013-04-30 13:39:50 +03:00
trx0trx.c Merge from mysql-5.1-innodb. 2012-02-10 13:04:10 +11:00
trx0undo.c Merge mysql-5.1 to mysql-5.5. 2012-02-17 11:52:51 +02:00