summaryrefslogtreecommitdiff
path: root/storage/innobase/include/srv0start.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/srv0start.h')
-rw-r--r--storage/innobase/include/srv0start.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/storage/innobase/include/srv0start.h b/storage/innobase/include/srv0start.h
index 04ee6b42867..d7d988f5282 100644
--- a/storage/innobase/include/srv0start.h
+++ b/storage/innobase/include/srv0start.h
@@ -43,8 +43,8 @@ Starts Innobase and creates a new database if database files
are not found and the user wants.
@return DB_SUCCESS or error code */
dberr_t
-innobase_start_or_create_for_mysql(void);
-/*====================================*/
+innobase_start_or_create_for_mysql();
+
/** Shut down InnoDB. */
void
innodb_shutdown();
@@ -52,7 +52,7 @@ innodb_shutdown();
/****************************************************************//**
Shuts down background threads that can generate undo pages. */
void
-srv_shutdown_bg_undo_sources(void);
+srv_shutdown_bg_undo_sources();
/*************************************************************//**
Copy the file path component of the physical file to parameter. It will
@@ -138,6 +138,9 @@ enum srv_shutdown_t {
SRV_SHUTDOWN_EXIT_THREADS/*!< Exit all threads */
};
+/** Whether any undo log records can be generated */
+extern bool srv_undo_sources;
+
/** At a shutdown this value climbs from SRV_SHUTDOWN_NONE to
SRV_SHUTDOWN_CLEANUP and then to SRV_SHUTDOWN_LAST_PHASE, and so on */
extern enum srv_shutdown_t srv_shutdown_state;