drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
srv0start.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (C) 1995, 2009, Innobase Oy. All Rights Reserved.
4
5This program is free software; you can redistribute it and/or modify it under
6the terms of the GNU General Public License as published by the Free Software
7Foundation; version 2 of the License.
8
9This program is distributed in the hope that it will be useful, but WITHOUT
10ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License along with
14this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15St, Fifth Floor, Boston, MA 02110-1301 USA
16
17*****************************************************************************/
18
19/**************************************************/
25
26#pragma once
27#ifndef srv0start_h
28#define srv0start_h
29
30#include "univ.i"
31#include "ut0byte.h"
32
33/*********************************************************************/
35UNIV_INTERN
36void
38/*=======================*/
39 char* str);
40/*********************************************************************/
44UNIV_INTERN
45ibool
47/*================================*/
48 char* str);
49/*********************************************************************/
53UNIV_INTERN
54ibool
56/*==========================*/
57 char* str);
58/*********************************************************************/
61UNIV_INTERN
62void
64/*==========================*/
65/*********************************************************************/
69UNIV_INTERN
70char*
72/*=============================*/
73 char* str);
74#ifndef UNIV_HOTBACKUP
75/****************************************************************/
79UNIV_INTERN
80int
82/*====================================*/
83/****************************************************************/
86UNIV_INTERN
87int
89/*=============================*/
91extern ib_uint64_t srv_shutdown_lsn;
93extern ib_uint64_t srv_start_lsn;
94
95#ifdef HAVE_DARWIN_THREADS
97extern ibool srv_have_fullfsync;
98#endif
99
101extern ibool srv_is_being_started;
103extern ibool srv_was_started;
107
109extern ibool srv_start_raw_disk_in_use;
110
111
122
126#endif /* !UNIV_HOTBACKUP */
127
129#define SRV_LOG_SPACE_FIRST_ID 0xFFFFFFF0UL
130
131#endif
UNIV_INTERN void srv_free_paths_and_sizes(void)
Definition srv0start.cc:450
UNIV_INTERN void srv_normalize_path_for_win(char *str)
Definition srv0start.cc:513
UNIV_INTERN int innobase_shutdown_for_mysql(void)
ib_uint64_t srv_shutdown_lsn
Definition srv0start.cc:101
srv_shutdown_state
Definition srv0start.h:113
@ SRV_SHUTDOWN_CLEANUP
Definition srv0start.h:115
@ SRV_SHUTDOWN_NONE
Definition srv0start.h:114
@ SRV_SHUTDOWN_LAST_PHASE
Definition srv0start.h:117
@ SRV_SHUTDOWN_EXIT_THREADS
Definition srv0start.h:120
ibool srv_was_started
Definition srv0start.cc:118
UNIV_INTERN ibool srv_parse_data_file_paths_and_sizes(char *str)
Definition srv0start.cc:195
ibool srv_is_being_started
Definition srv0start.cc:116
ibool srv_start_raw_disk_in_use
Definition srv0start.cc:110
UNIV_INTERN char * srv_add_path_separator_if_needed(char *str)
ib_uint64_t srv_start_lsn
Definition srv0start.cc:99
UNIV_INTERN int innobase_start_or_create_for_mysql(void)
Definition srv0start.cc:971
UNIV_INTERN ibool srv_parse_log_group_home_dirs(char *str)
Definition srv0start.cc:379
ibool srv_startup_is_before_trx_rollback_phase
Definition srv0start.cc:114