mariadb/storage/innobase/row
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
..
row0ext.cc Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
row0ftsort.cc Fixed issues found by buildbot 2017-01-11 09:18:35 +02:00
row0import.cc Merge 10.1 to 10.2. 2017-01-19 12:06:13 +02:00
row0ins.cc MDEV-6076 Persistent AUTO_INCREMENT for InnoDB 2016-12-16 09:19:19 +02:00
row0log.cc MDEV-11849: Fix storage/innobase/* compile warnings 2017-01-26 08:05:24 +02:00
row0merge.cc MDEV-11849: Fix storage/innobase/* compile warnings 2017-01-26 08:05:24 +02:00
row0mysql.cc Shut down InnoDB after aborted startup. 2017-02-01 09:30:55 +02:00
row0purge.cc Follow-up to MDEV-11713: Make more use of DBUG_LOG 2017-01-12 13:47:18 +02:00
row0quiesce.cc Remove MYSQL_TABLESPACES. 2017-01-18 08:30:43 +02:00
row0row.cc Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
row0sel.cc MDEV-11849: Fix storage/innobase/* compile warnings 2017-01-26 08:05:24 +02:00
row0trunc.cc Merge 10.1 to 10.2. 2017-01-19 12:06:13 +02:00
row0uins.cc Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
row0umod.cc Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
row0undo.cc MDEV-9282 Debian: the Lintian complains about "shlib-calls-exit" in ha_innodb.so 2016-12-28 15:54:24 +02:00
row0upd.cc MDEV-11713 Optimize DBUG_PRINT and introduce DBUG_LOG 2017-01-05 10:51:18 +02:00
row0vers.cc MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00