InnoDB Plugin  1.0
dict0types.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3 Copyright (c) 1996, 2013, Oracle and/or its affiliates. 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.,
15 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16 
17 *****************************************************************************/
18 
19 /**************************************************/
26 #ifndef dict0types_h
27 #define dict0types_h
28 
29 struct dict_sys_t;
30 struct dict_col_t;
31 struct dict_field_t;
32 struct dict_index_t;
33 struct dict_table_t;
34 struct dict_foreign_t;
35 
36 struct ind_node_t;
37 struct tab_node_t;
38 
39 /* Space id and page no where the dictionary header resides */
40 #define DICT_HDR_SPACE 0 /* the SYSTEM tablespace */
41 #define DICT_HDR_PAGE_NO FSP_DICT_HDR_PAGE_NO
42 
43 /* The ibuf table and indexes's ID are assigned as the number
44 DICT_IBUF_ID_MIN plus the space id */
45 #define DICT_IBUF_ID_MIN 0xFFFFFFFF00000000ULL
46 
47 typedef ib_id_t table_id_t;
48 typedef ib_id_t index_id_t;
49 
69 };
70 
73  QUIESCE_NONE,
76 };
77 
79 #define tmp_file_prefix "#sql"
80 #define tmp_file_prefix_length 4
81 #define TEMP_FILE_PREFIX_INNODB "#sql-ib"
82 
83 #define TEMP_TABLE_PREFIX "#sql"
84 #define TEMP_TABLE_PATH_PREFIX "/" TEMP_TABLE_PREFIX
85 
86 #if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
87 
88 extern uint ibuf_debug;
89 #endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
90 
91 #endif