Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
srv0start.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (C) 1995, 2009, Innobase Oy. All Rights Reserved.
4
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
26
#pragma once
27
#ifndef srv0start_h
28
#define srv0start_h
29
30
#include "univ.i"
31
#include "
ut0byte.h
"
32
33
/*********************************************************************/
35
UNIV_INTERN
36
void
37
srv_normalize_path_for_win
(
38
/*=======================*/
39
char
* str);
40
/*********************************************************************/
44
UNIV_INTERN
45
ibool
46
srv_parse_data_file_paths_and_sizes
(
47
/*================================*/
48
char
* str);
49
/*********************************************************************/
53
UNIV_INTERN
54
ibool
55
srv_parse_log_group_home_dirs
(
56
/*==========================*/
57
char
* str);
58
/*********************************************************************/
61
UNIV_INTERN
62
void
63
srv_free_paths_and_sizes
(
void
);
64
/*==========================*/
65
/*********************************************************************/
69
UNIV_INTERN
70
char
*
71
srv_add_path_separator_if_needed
(
72
/*=============================*/
73
char
* str);
74
#ifndef UNIV_HOTBACKUP
75
/****************************************************************/
79
UNIV_INTERN
80
int
81
innobase_start_or_create_for_mysql
(
void
);
82
/*====================================*/
83
/****************************************************************/
86
UNIV_INTERN
87
int
88
innobase_shutdown_for_mysql
(
void
);
89
/*=============================*/
91
extern
ib_uint64_t
srv_shutdown_lsn
;
93
extern
ib_uint64_t
srv_start_lsn
;
94
95
#ifdef HAVE_DARWIN_THREADS
96
97
extern
ibool srv_have_fullfsync;
98
#endif
99
101
extern
ibool
srv_is_being_started
;
103
extern
ibool
srv_was_started
;
106
extern
ibool
srv_startup_is_before_trx_rollback_phase
;
107
109
extern
ibool
srv_start_raw_disk_in_use
;
110
111
113
enum
srv_shutdown_state
{
114
SRV_SHUTDOWN_NONE
= 0,
115
SRV_SHUTDOWN_CLEANUP
,
117
SRV_SHUTDOWN_LAST_PHASE
,
120
SRV_SHUTDOWN_EXIT_THREADS
121
};
122
125
extern
enum
srv_shutdown_state
srv_shutdown_state
;
126
#endif
/* !UNIV_HOTBACKUP */
127
129
#define SRV_LOG_SPACE_FIRST_ID 0xFFFFFFF0UL
130
131
#endif
plugin
innobase
include
srv0start.h
Generated on Thu Aug 29 2013 10:00:32 for drizzle by
1.8.4