mariadb/storage/innobase/trx
Jan Lindström 112b21da37 MDEV-12600: crash during install_db with innodb_page_size=32K and ibdata1=3M;
Problem was that all doublewrite buffer pages must fit to first
system datafile.

Ported commit 27a34df7882b1f8ed283f22bf83e8bfc523cbfde
Author: Shaohua Wang <shaohua.wang@oracle.com>
Date:   Wed Aug 12 15:55:19 2015 +0800

    BUG#21551464 - SEGFAULT WHILE INITIALIZING DATABASE WHEN
    INNODB_DATA_FILE SIZE IS SMALL

To 10.1 (with extended error printout).

btr_create(): If ibuf header page allocation fails report error and
return FIL_NULL. Similarly if root page allocation fails return a error.

dict_build_table_def_step: If fsp_header_init fails return
error code.

fsp_header_init: returns true if header initialization succeeds
and false if not.

fseg_create_general: report error if segment or page allocation fails.

innobase_init: If first datafile is smaller than 3M and could not
contain all doublewrite buffer pages report error and fail to
initialize InnoDB plugin.

row_truncate_table_for_mysql: report error if fsp header init
fails.

srv_init_abort: New function to report database initialization errors.

srv_undo_tablespaces_init, innobase_start_or_create_for_mysql: If
database initialization fails report error and abort.

trx_rseg_create: If segment header creation fails return.
2017-06-01 14:07:48 +03:00
..
trx0i_s.cc Never pass NULL to innobase_get_stmt() 2017-05-17 08:27:04 +03:00
trx0purge.cc Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
trx0rec.cc Merge 10.0 into 10.1 2017-05-19 12:29:37 +03:00
trx0roll.cc Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
trx0rseg.cc MDEV-12600: crash during install_db with innodb_page_size=32K and ibdata1=3M; 2017-06-01 14:07:48 +03:00
trx0sys.cc Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
trx0trx.cc Merge branch '10.0-galera' into 10.1 2017-05-26 19:21:19 +02:00
trx0undo.cc MDEV-11985 Make innodb_read_only shutdown more robust 2017-02-04 17:33:19 +02:00