summaryrefslogtreecommitdiff
path: root/storage/innobase/include/srv0start.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-06-08 15:43:06 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-06-12 19:07:34 +0300
commit35248fed10becf08368a3dee547c938963ffc986 (patch)
tree7fbb0340bcd707d2640df471118a4b9e8beb9ccf /storage/innobase/include/srv0start.h
parenta78476d342969caece14ee4fc3f5ac4a58b0721a (diff)
downloadmariadb-git-35248fed10becf08368a3dee547c938963ffc986.tar.gz
10.2 follow-up to MDEV-13039 innodb_fast_shutdown=0 crash due premature purge shutdown before fts_optimize_shutdown()
srv_start_state_t: Document the flags. Replace SRV_START_STATE_STAT with SRV_START_STATE_REDO. The srv_bg_undo_sources replaces the original use of SRV_START_STATE_STAT. dict_stats_thread_started, buf_dump_thread_started, buf_flush_page_cleaner_thread_started: Remove (unused). srv_shutdown_all_bg_threads(): Always wait for the I/O threads to exit, also in read-only mode. os_thread_free(): Remove.
Diffstat (limited to 'storage/innobase/include/srv0start.h')
-rw-r--r--storage/innobase/include/srv0start.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/include/srv0start.h b/storage/innobase/include/srv0start.h
index d7d988f5282..47b42725541 100644
--- a/storage/innobase/include/srv0start.h
+++ b/storage/innobase/include/srv0start.h
@@ -49,8 +49,7 @@ innobase_start_or_create_for_mysql();
void
innodb_shutdown();
-/****************************************************************//**
-Shuts down background threads that can generate undo pages. */
+/** Shut down background threads that can generate undo log. */
void
srv_shutdown_bg_undo_sources();