summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-06-06 14:59:42 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-06-08 11:55:47 +0300
commitfbeb9489cd7d6ad859a49ae5ab8f876f3d988470 (patch)
treecd9a8d916f888a38a684af220abccb8c878c38de /sql/log_event.cc
parent68890fe7d48b6fee505f294400224fe01107950c (diff)
downloadmariadb-git-fbeb9489cd7d6ad859a49ae5ab8f876f3d988470.tar.gz
Cleanup of MDEV-12600: crash during install_db with innodb_page_size=32K and ibdata1=3M
The doublewrite buffer pages must fit in the first InnoDB system tablespace data file. The checks that were added in the initial patch (commit 112b21da37dad0fbb28bc65f9ab5a3ba6c0c2186) were at too high level and did not cover all cases. innodb.log_data_file_size: Test all innodb_page_size combinations. fsp_header_init(): Never return an error. Move the change buffer creation to the only caller that needs to do it. btr_create(): Clean up the logic. Remove the error log messages. buf_dblwr_create(): Try to return an error on non-fatal failure. Check that the first data file is big enough for creating the doublewrite buffers. buf_dblwr_process(): Check if the doublewrite buffer is available. Display the message only if it is available. recv_recovery_from_checkpoint_start_func(): Remove a redundant message about FIL_PAGE_FILE_FLUSH_LSN mismatch when crash recovery has already been initiated. fil_report_invalid_page_access(): Simplify the message. fseg_create_general(): Do not emit messages to the error log. innobase_init(): Revert the changes. trx_rseg_create(): Refactor (no functional change).
Diffstat (limited to 'sql/log_event.cc')
0 files changed, 0 insertions, 0 deletions