1
/*****************************************************************************
3
Copyright (c) 1996, 2009, Innobase Oy. All Rights Reserved.
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.
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.
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., 59 Temple
15
Place, Suite 330, Boston, MA 02111-1307 USA
17
*****************************************************************************/
19
/**************************************************//**
20
@file include/dict0types.h
21
Data dictionary global types
23
Created 1/8/1996 Heikki Tuuri
24
*******************************************************/
29
typedef struct dict_sys_struct dict_sys_t;
30
typedef struct dict_col_struct dict_col_t;
31
typedef struct dict_field_struct dict_field_t;
32
typedef struct dict_index_struct dict_index_t;
33
typedef struct dict_table_struct dict_table_t;
34
typedef struct dict_foreign_struct dict_foreign_t;
36
/* A cluster object is a table object with the type field set to
39
typedef dict_table_t dict_cluster_t;
41
typedef struct ind_node_struct ind_node_t;
42
typedef struct tab_node_struct tab_node_t;
44
/* Space id and page no where the dictionary header resides */
45
#define DICT_HDR_SPACE 0 /* the SYSTEM tablespace */
46
#define DICT_HDR_PAGE_NO FSP_DICT_HDR_PAGE_NO