1 /* Copyright (c) 2008, 2020, 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 /**
24   @file storage/perfschema/pfs_column_values.cc
25   Literal values for columns used in the performance
26   schema tables (implementation).
27 */
28 
29 #include "storage/perfschema/pfs_column_values.h"
30 
31 LEX_CSTRING PERFORMANCE_SCHEMA_str = {STRING_WITH_LEN("performance_schema")};
32 
33 LEX_CSTRING mutex_instrument_prefix = {STRING_WITH_LEN("wait/synch/mutex")};
34 
35 LEX_CSTRING prlock_instrument_prefix = {STRING_WITH_LEN("wait/synch/prlock")};
36 
37 LEX_CSTRING rwlock_instrument_prefix = {STRING_WITH_LEN("wait/synch/rwlock")};
38 
39 LEX_CSTRING sxlock_instrument_prefix = {STRING_WITH_LEN("wait/synch/sxlock")};
40 
41 LEX_CSTRING cond_instrument_prefix = {STRING_WITH_LEN("wait/synch/cond")};
42 
43 LEX_CSTRING file_instrument_prefix = {STRING_WITH_LEN("wait/io/file")};
44 
45 LEX_CSTRING table_io_class_name = {
46     STRING_WITH_LEN("wait/io/table/sql/handler")};
47 
48 LEX_CSTRING table_lock_class_name = {
49     STRING_WITH_LEN("wait/lock/table/sql/handler")};
50 
51 LEX_CSTRING socket_instrument_prefix = {STRING_WITH_LEN("wait/io/socket")};
52 
53 LEX_CSTRING idle_class_name = {STRING_WITH_LEN("idle")};
54 
55 LEX_CSTRING metadata_lock_class_name = {
56     STRING_WITH_LEN("wait/lock/metadata/sql/mdl")};
57 
58 LEX_CSTRING thread_instrument_prefix = {STRING_WITH_LEN("thread")};
59 
60 LEX_CSTRING stage_instrument_prefix = {STRING_WITH_LEN("stage")};
61 
62 LEX_CSTRING statement_instrument_prefix = {STRING_WITH_LEN("statement")};
63 
64 LEX_CSTRING transaction_instrument_prefix = {STRING_WITH_LEN("transaction")};
65 
66 LEX_CSTRING builtin_memory_instrument_prefix = {
67     STRING_WITH_LEN("memory/performance_schema/")};
68 
69 LEX_CSTRING memory_instrument_prefix = {STRING_WITH_LEN("memory")};
70 
71 LEX_CSTRING error_class_name = {STRING_WITH_LEN("error")};
72