mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
3b5cee2e49
sync0sync.ic Do not use GCC in-line assembly srv0start.h Eliminate a deadlock of threads at startup buf0buf.h Add some debug functions srv0start.c Remove a printf innobase/srv/srv0start.c: Remove a printf innobase/include/buf0buf.h: Add some debug functions innobase/include/srv0start.h: Eliminate a deadlock of threads at startup innobase/include/sync0sync.ic: Do not use GCC in-line assembly innobase/include/univ.i: Added a new debug define option
34 lines
944 B
C
34 lines
944 B
C
/******************************************************
|
|
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 */
|
|
|
|
extern ibool srv_startup_is_before_trx_rollback_phase;
|
|
|
|
#endif
|