~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/srv0start.h

Imported InnoDB plugin with changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/*************************************************************************
17
17
Normalizes a directory path for Windows: converts slashes to backslashes. */
18
 
 
 
18
UNIV_INTERN
19
19
void
20
20
srv_normalize_path_for_win(
21
21
/*=======================*/
23
23
/*************************************************************************
24
24
Reads the data files and their sizes from a character string given in
25
25
the .cnf file. */
26
 
 
 
26
UNIV_INTERN
27
27
ibool
28
28
srv_parse_data_file_paths_and_sizes(
29
29
/*================================*/
45
45
/*************************************************************************
46
46
Reads log group home directories from a character string given in
47
47
the .cnf file. */
48
 
 
 
48
UNIV_INTERN
49
49
ibool
50
50
srv_parse_log_group_home_dirs(
51
51
/*==========================*/
56
56
/*************************************************************************
57
57
Adds a slash or a backslash to the end of a string if it is missing
58
58
and the string is not empty. */
59
 
 
 
59
UNIV_INTERN
60
60
char*
61
61
srv_add_path_separator_if_needed(
62
62
/*=============================*/
67
67
Starts Innobase and creates a new database if database files
68
68
are not found and the user wants. Server parameters are
69
69
read from a file of name "srv_init" in the ib_home directory. */
70
 
 
 
70
UNIV_INTERN
71
71
int
72
72
innobase_start_or_create_for_mysql(void);
73
73
/*====================================*/
74
74
                                /* out: DB_SUCCESS or error code */
75
75
/********************************************************************
76
76
Shuts down the Innobase database. */
 
77
UNIV_INTERN
77
78
int
78
79
innobase_shutdown_for_mysql(void);
79
80
/*=============================*/
80
81
                                /* out: DB_SUCCESS or error code */
81
 
extern  dulint  srv_shutdown_lsn;
82
 
extern  dulint  srv_start_lsn;
 
82
extern  ib_uint64_t     srv_shutdown_lsn;
 
83
extern  ib_uint64_t     srv_start_lsn;
 
84
 
 
85
#ifdef __NETWARE__
 
86
void set_panic_flag_for_netware(void);
 
87
#endif
83
88
 
84
89
#ifdef HAVE_DARWIN_THREADS
85
90
extern  ibool   srv_have_fullfsync;
86
91
#endif
87
92
 
88
 
extern  ulint   srv_sizeof_trx_t_in_ha_innodb_cc;
89
 
 
90
93
extern  ibool   srv_is_being_started;
 
94
extern  ibool   srv_was_started;
91
95
extern  ibool   srv_startup_is_before_trx_rollback_phase;
92
96
extern  ibool   srv_is_being_shut_down;
93
97