MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
record_types.hpp
1 /*
2  Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; version 2 of the License.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 #ifndef KERNEL_RECORDS_HPP
19 #define KERNEL_RECORDS_HPP
20 
31 #define RG_DISK_OPERATIONS 1
32 
37 #define RG_DISK_RECORDS 2
38 
42 #define RG_DATAMEM 3
43 
47 #define RG_JOBBUFFER 4
48 
52 #define RG_FILE_BUFFERS 5
53 
57 #define RG_TRANSPORTER_BUFFERS 6
58 
62 #define RG_DISK_PAGE_BUFFER 7
63 
67 #define RG_QUERY_MEMORY 8
68 
72 #define RG_RESERVED 0
73 #define RG_COUNT 9
74 
78 #define RT_PGMAN_PAGE_REQUEST MAKE_TID( 1, RG_DISK_OPERATIONS)
79 #define RT_LGMAN_LOG_WAITER MAKE_TID( 2, RG_DISK_OPERATIONS)
80 #define RT_DBTUP_PAGE_REQUEST MAKE_TID( 3, RG_DISK_OPERATIONS)
81 
82 #define RT_DBTUP_EXTENT_INFO MAKE_TID( 1, RG_DISK_RECORDS)
83 #define RT_DBDICT_FILE MAKE_TID( 2, RG_DISK_RECORDS)
84 #define RT_DBDICT_FILEGROUP MAKE_TID( 3, RG_DISK_RECORDS)
85 #define RT_LGMAN_FILE MAKE_TID( 4, RG_DISK_RECORDS)
86 #define RT_LGMAN_FILEGROUP MAKE_TID( 5, RG_DISK_RECORDS)
87 #define RT_TSMAN_FILE MAKE_TID( 6, RG_DISK_RECORDS)
88 #define RT_TSMAN_FILEGROUP MAKE_TID( 7, RG_DISK_RECORDS)
89 
90 #define RT_DBTUP_PAGE MAKE_TID( 1, RG_DATAMEM)
91 #define RT_DBTUP_PAGE_MAP MAKE_TID( 2, RG_DATAMEM)
92 
93 #define RT_JOB_BUFFER MAKE_TID( 1, RG_JOBBUFFER)
94 
95 #define RT_FILE_BUFFER MAKE_TID( 1, RG_FILE_BUFFERS)
96 
97 #define RT_SPJ_REQUEST MAKE_TID( 1, RG_QUERY_MEMORY)
98 #define RT_SPJ_TREENODE MAKE_TID( 2, RG_QUERY_MEMORY)
99 #define RT_SPJ_ARENA_BLOCK MAKE_TID( 3, RG_QUERY_MEMORY)
100 #define RT_SPJ_DATABUFFER MAKE_TID( 4, RG_QUERY_MEMORY)
101 #define RT_SPJ_SCANFRAG MAKE_TID( 5, RG_QUERY_MEMORY)
102 
103 #endif