mariadb/storage/innobase
Marko Mäkelä 81b7fe9d38 Shut down InnoDB after aborted startup.
This fixes memory leaks in tests that cause InnoDB startup to fail.

buf_pool_free_instance(): Also free buf_pool->flush_rbt, which would
normally be freed when crash recovery finishes.

fil_node_close_file(), fil_space_free_low(), fil_close_all_files():
Relax some debug assertions to tolerate !srv_was_started.

innodb_shutdown(): Renamed from innobase_shutdown_for_mysql().
Changed the return type to void. Do not assume that all subsystems
were started.

que_init(), que_close(): Remove (empty functions).

srv_init(), srv_general_init(): Remove as global functions.

srv_free(): Allow srv_sys=NULL.

srv_get_active_thread_type(): Only return SRV_PURGE if purge really
is running.

srv_shutdown_all_bg_threads(): Do not reset srv_start_state. It will
be needed by innodb_shutdown().

innobase_start_or_create_for_mysql(): Always call srv_boot() so that
innodb_shutdown() can assume that it was called. Make more subsystems
dependent on SRV_START_STATE_STAT.

srv_shutdown_bg_undo_sources(): Require SRV_START_STATE_STAT.

trx_sys_close(): Do not assume purge_sys!=NULL. Do not call
buf_dblwr_free(), because the doublewrite buffer can exist while
the transaction system does not.

logs_empty_and_mark_files_at_shutdown(): Do a faster shutdown if
!srv_was_started.

recv_sys_close(): Invoke dblwr.pages.clear() which would normally
be invoked by buf_dblwr_process().

recv_recovery_from_checkpoint_start(): Always release log_sys->mutex.

row_mysql_close(): Allow the subsystem not to exist.
2017-02-01 09:30:55 +02:00
..
api Merge 10.1 into 10.2 2016-12-30 08:56:13 +02:00
btr Rewrite the innodb.log_file_size test with DBUG_EXECUTE_IF. 2017-01-31 10:23:20 +02:00
buf Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
data MDEV-11690 Remove UNIV_HOTBACKUP 2016-12-30 16:05:42 +02:00
dict MDEV-11849: Fix storage/innobase/* compile warnings 2017-01-26 08:05:24 +02:00
eval Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
fil Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
fsp MDEV-11849: Fix storage/innobase/* compile warnings 2017-01-26 08:05:24 +02:00
fts Remove MYSQL_TABLESPACES. 2017-01-18 08:30:43 +02:00
fut Merge 10.1 to 10.2 2017-01-05 10:48:03 +02:00
gis MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
ha MDEV-11690 Remove UNIV_HOTBACKUP 2016-12-30 16:05:42 +02:00
handler Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
ibuf MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
include Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
lock MDEV-11849: Fix storage/innobase/* compile warnings 2017-01-26 08:05:24 +02:00
log Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
mach Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
mem MDEV-11690 Remove UNIV_HOTBACKUP 2016-12-30 16:05:42 +02:00
mtr MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
mysql-test/storage_engine Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00
os Fix the code to determine sector size on Windows volume. 2017-01-26 17:39:36 +00:00
page Fix a test. 2017-01-25 16:38:45 +02:00
pars Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
que Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
read Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
rem MDEV-11690 Remove UNIV_HOTBACKUP 2016-12-30 16:05:42 +02:00
row Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
srv Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
sync MDEV-11849: Fix storage/innobase/* compile warnings 2017-01-26 08:05:24 +02:00
trx Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
usr Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
ut MDEV-11254: innodb-use-trim has no effect in 10.2 2017-01-24 14:40:58 +02:00
CMakeLists.txt MDEV-11195: Simplify enablement of NUMA in innodb/xtradb 2016-11-02 14:37:43 +11:00
compile-innodb move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Google move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Percona move to storage/innobase 2015-05-04 19:17:21 +02:00
innodb.cmake Remove MYSQL_COMPRESSION. 2017-01-18 08:30:42 +02:00
plugin_exports Solaris compilation failure: xtradb is linked in statically, ha_innodb.so needs 2014-05-01 14:05:52 +02:00