diff options
Diffstat (limited to 'innobase/include/srv0start.h')
-rw-r--r-- | innobase/include/srv0start.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/innobase/include/srv0start.h b/innobase/include/srv0start.h new file mode 100644 index 00000000000..66eeb4f2e3c --- /dev/null +++ b/innobase/include/srv0start.h @@ -0,0 +1,31 @@ +/****************************************************** +Starts the Innobase database server + +(c) 1995-2000 Innobase Oy + +Created 10/10/1995 Heikki Tuuri +*******************************************************/ + + +#ifndef srv0start_h +#define srv0start_h + +#include "univ.i" + +/******************************************************************** +Starts Innobase and creates a new database if database files +are not found and the user wants. Server parameters are +read from a file of name "srv_init" in the ib_home directory. */ + +int +innobase_start_or_create_for_mysql(void); +/*====================================*/ + /* out: DB_SUCCESS or error code */ +/******************************************************************** +Shuts down the Innobase database. */ + +int +innobase_shutdown_for_mysql(void); +/*=============================*/ + /* out: DB_SUCCESS or error code */ +#endif |