mariadb/storage/innobase
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
..
btr Merge mysql-5.1 to mysql-5.5. 2013-01-23 15:00:46 +09:00
buf Bug#16720368 INNODB IGNORES *.IBD FILE BREAKAGE AT STARTUP 2013-04-30 13:39:50 +03:00
data
dict Fix Bug#16400412 UNNECESSARY DICT_UPDATE_STATISTICS DURING CONCURRENT 2013-03-18 17:20:30 +02:00
dyn Bug#16138582 MTR_MEMO_RELEASE AND DYN_ARRAY TOGETHER ARE VERY INEFFICIENT 2013-01-17 17:30:13 +02:00
eval
fil Bug#16720368 INNODB IGNORES *.IBD FILE BREAKAGE AT STARTUP 2013-04-30 13:39:50 +03:00
fsp Merging from mysql-5.1 to mysql-5.5. 2012-03-09 12:35:27 +05:30
fut
ha WL#6161 Integrating with InnoDB codebase in MySQL 5.5 2012-06-07 19:14:26 +05:30
handler Merge from mysql-5.1 to mysql-5.5 2013-04-24 08:42:59 +02:00
ibuf Bug#16409715 ASSERT SYNC_THREAD_LEVELS_G(ARRAY, LEVEL - 1, TRUE), 2013-03-12 13:58:10 +02:00
include Bug#16720368 INNODB IGNORES *.IBD FILE BREAKAGE AT STARTUP 2013-04-30 13:39:50 +03:00
lock Bug#16268289 LOCK_REC_VALIDATE_PAGE() MAY DEREFERENCE A POINTER TO A 2013-03-13 11:43:21 +05:30
log Merging from mysql-5.1 to mysql-5.5. 2012-11-09 18:56:20 +05:30
mach
mem BUG#16069598 - SERVER CRASH BY NULL POINTER DEREFERENCING IN 2013-03-07 14:44:35 +05:30
mtr Bug#16138582 MTR_MEMO_RELEASE AND DYN_ARRAY TOGETHER ARE VERY INEFFICIENT 2013-01-17 17:30:13 +02:00
os Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
page Merge mysql-5.1 to mysql-5.5. 2013-03-12 13:57:02 +02:00
pars Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
que
read
rem Merge mysql-5.1 to mysql-5.5. 2012-11-15 20:38:04 +02:00
row Fix Bug#16400412 UNNECESSARY DICT_UPDATE_STATISTICS DURING CONCURRENT 2013-03-18 17:20:30 +02:00
srv Bug#16720368 INNODB IGNORES *.IBD FILE BREAKAGE AT STARTUP 2013-04-30 13:39:50 +03:00
sync Bug#16263506 - INNODB; USE ABORT() ON ALL PLATFORMS INSTEAD OF 2013-02-06 13:49:56 -06:00
trx Bug#16720368 INNODB IGNORES *.IBD FILE BREAKAGE AT STARTUP 2013-04-30 13:39:50 +03:00
usr
ut Merge from mysql-5.1 to mysql-5.5. 2013-02-12 15:35:56 +05:30
CMakeLists.txt
compile-innodb
COPYING.Google
COPYING.Percona
Doxyfile
ha_innodb.def