MySQL  8.0.17
Source Code Documentation
init.h
Go to the documentation of this file.
1 /* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
2 
3  This program is free software; you can redistribute it and/or modify
4  it under the terms of the GNU General Public License, version 2.0,
5  as published by the Free Software Foundation.
6 
7  This program is also distributed with certain software (including
8  but not limited to OpenSSL) that is licensed under separate terms,
9  as designated in a particular file or component or in included license
10  documentation. The authors of MySQL hereby grant you an additional
11  permission to link the program and your derivative works with the
12  separately licensed software that they have included with MySQL.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License, version 2.0, for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22 
23 #ifndef DD__PERFORMANCE_SCHEMA_INIT_PFS_INCLUDED
24 #define DD__PERFORMANCE_SCHEMA_INIT_PFS_INCLUDED
25 
26 namespace dd {
27 class Properties;
28 enum class enum_dd_init_type;
29 } // namespace dd
30 
31 namespace dd {
32 namespace performance_schema {
33 
34 /**
35  Creates performance schema tables in the Data Dictionary.
36 
37  @return Return true upon failure, otherwise false.
38 */
39 
40 bool init_pfs_tables(enum_dd_init_type int_type);
41 
42 /**
43  Store the property "PS_version" in table's options
44 */
45 
46 void set_PS_version_for_table(dd::Properties *table_options);
47 
48 } // namespace performance_schema
49 } // namespace dd
50 
51 #endif
enum_dd_init_type
Definition: dd.h:31
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:73
bool init_pfs_tables(enum_dd_init_type init_type)
Creates performance schema tables in the Data Dictionary.
Definition: init.cc:319
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:39
void set_PS_version_for_table(dd::Properties *table_options)
Store the property "PS_version" in table's options.
Definition: init.cc:332