diff options
author | Marko Mäkelä <marko.makela@oracle.com> | 2013-04-30 13:39:50 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@oracle.com> | 2013-04-30 13:39:50 +0300 |
commit | 3d264bb1e960bcad56d581ee76212215241b4c0f (patch) | |
tree | ec70a8ea4b5a57c44eb19607a01cf2d60b624b9b /scripts/mysqldumpslow.sh | |
parent | 975968e245994b45b11ade869e51d7db39c1707f (diff) | |
download | mariadb-git-3d264bb1e960bcad56d581ee76212215241b4c0f.tar.gz |
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
Diffstat (limited to 'scripts/mysqldumpslow.sh')
0 files changed, 0 insertions, 0 deletions