MySQL 8.3.0
Source Code Documentation
dict0boot.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (c) 1996, 2023, Oracle and/or its affiliates.
4
5This program is free software; you can redistribute it and/or modify it under
6the terms of the GNU General Public License, version 2.0, as published by the
7Free Software Foundation.
8
9This program is also distributed with certain software (including but not
10limited to OpenSSL) that is licensed under separate terms, as designated in a
11particular file or component or in included license documentation. The authors
12of MySQL hereby grant you an additional permission to link the program and
13your derivative works with the separately licensed software that they have
14included with MySQL.
15
16This program is distributed in the hope that it will be useful, but WITHOUT
17ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
19for more details.
20
21You should have received a copy of the GNU General Public License along with
22this program; if not, write to the Free Software Foundation, Inc.,
2351 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
25*****************************************************************************/
26
27/** @file include/dict0boot.h
28 Data dictionary creation and booting
29
30 Created 4/18/1996 Heikki Tuuri
31 *******************************************************/
32
33#ifndef dict0boot_h
34#define dict0boot_h
35
36#include "univ.i"
37
38#include "buf0buf.h"
39#include "dict0dict.h"
40#include "fsp0fsp.h"
41#include "mtr0log.h"
42#include "mtr0mtr.h"
43#include "ut0byte.h"
44
45typedef byte dict_hdr_t;
46
47/** Gets a pointer to the dictionary header and x-latches its page.
48 @return pointer to the dictionary header, page x-latched */
49dict_hdr_t *dict_hdr_get(mtr_t *mtr); /*!< in: mtr */
50
51/** Returns a new table, index, or space id.
52@param[out] table_id Table id (not assigned if null)
53@param[out] index_id Index id (not assigned if null)
54@param[out] space_id Space id (not assigned if null)
55@param[in] table Table
56@param[in] disable_redo If true and table object is null then disable-redo */
57void dict_hdr_get_new_id(table_id_t *table_id, space_index_t *index_id,
58 space_id_t *space_id, const dict_table_t *table,
59 bool disable_redo);
60
61/** Writes the current value of the row id counter to the dictionary header file
62 page. */
63void dict_hdr_flush_row_id(void);
64#ifndef UNIV_HOTBACKUP
65/** Returns a new row id.
66 @return the new id */
68/** Reads a row id from a record or other 6-byte stored form.
69 @return row id */
71 const byte *field); /*!< in: record field */
72
73/** Writes a row id to a record or other 6-byte stored form.
74@param[in] field record field
75@param[in] row_id row id */
76static inline void dict_sys_write_row_id(byte *field, row_id_t row_id);
77
78/** Check if a table id belongs to old innodb internal system table.
79@param[in] id table id
80@return true if the table id belongs to a system table. */
81[[nodiscard]] static inline bool dict_is_old_sys_table(table_id_t id);
82#endif /* !UNIV_HOTBACKUP */
83
84/** Initializes the data dictionary memory structures when the database is
85 started. This function is also called when the data dictionary is created.
86 @return DB_SUCCESS or error code. */
87[[nodiscard]] dberr_t dict_boot(void);
88
89/** Creates and initializes the data dictionary at the server bootstrap.
90 @return DB_SUCCESS or error code. */
91[[nodiscard]] dberr_t dict_create(void);
92
93/** The ids for the basic system tables and their indexes */
94constexpr uint32_t DICT_TABLES_ID = 1;
95constexpr uint32_t DICT_COLUMNS_ID = 2;
96constexpr uint32_t DICT_INDEXES_ID = 3;
97constexpr uint32_t DICT_FIELDS_ID = 4;
98/* The following is a secondary index on SYS_TABLES */
99constexpr uint32_t DICT_TABLE_IDS_ID = 5;
100
101/** the ids for tables etc. start from this number, except for basic system
102 tables and their above defined indexes; ibuf tables and indexes are assigned
103 as the id the number DICT_IBUF_ID_MIN plus the space id */
104constexpr uint32_t DICT_HDR_FIRST_ID = 10;
105
106/* The offset of the dictionary header on the page */
107constexpr uint32_t DICT_HDR = FSEG_PAGE_DATA;
108
109/*-------------------------------------------------------------*/
110/* Dictionary header offsets */
111/** The latest assigned row id */
112constexpr uint32_t DICT_HDR_ROW_ID = 0;
113/** The latest assigned table id */
114constexpr uint32_t DICT_HDR_TABLE_ID = 8;
115/** The latest assigned index id */
116constexpr uint32_t DICT_HDR_INDEX_ID = 16;
117/** The latest assigned space id,or 0*/
118constexpr uint32_t DICT_HDR_MAX_SPACE_ID = 24;
119/** Obsolete,always DICT_HDR_FIRST_ID*/
120constexpr uint32_t DICT_HDR_MIX_ID_LOW = 28;
121/** Root of SYS_TABLES clust index */
122constexpr uint32_t DICT_HDR_TABLES = 32;
123/** Root of SYS_TABLE_IDS sec index */
124constexpr uint32_t DICT_HDR_TABLE_IDS = 36;
125/** Root of SYS_COLUMNS clust index */
126constexpr uint32_t DICT_HDR_COLUMNS = 40;
127/** Root of SYS_INDEXES clust index */
128constexpr uint32_t DICT_HDR_INDEXES = 44;
129/** Root of SYS_FIELDS clust index */
130constexpr uint32_t DICT_HDR_FIELDS = 48;
131
132/* Segment header for the tablespace segment into which the dictionary header is
133 created */
134constexpr uint32_t DICT_HDR_FSEG_HEADER = 56;
135/*-------------------------------------------------------------*/
136
137/* The columns in SYS_TABLES */
149/* The field numbers in the SYS_TABLES clustered index */
163/* The field numbers in the SYS_TABLE_IDS index */
169/* The columns in SYS_COLUMNS */
180/* The field numbers in the SYS_COLUMNS clustered index */
193/* The columns in SYS_INDEXES */
205/* The field numbers in the SYS_INDEXES clustered index */
219/* The columns in SYS_FIELDS */
226/* The field numbers in the SYS_FIELDS clustered index */
235/* The columns in SYS_FOREIGN */
243/* The field numbers in the SYS_FOREIGN clustered index */
253/* The field numbers in the SYS_FOREIGN_FOR_NAME secondary index */
259/* The columns in SYS_FOREIGN_COLS */
267/* The field numbers in the SYS_FOREIGN_COLS clustered index */
277/* The columns in SYS_TABLESPACES */
284/* The field numbers in the SYS_TABLESPACES clustered index */
293/* The columns in SYS_DATAFILES */
299/* The field numbers in the SYS_DATAFILES clustered index */
307
308/* The columns in SYS_VIRTUAL */
315/* The field numbers in the SYS_VIRTUAL clustered index */
324
325/* A number of the columns above occur in multiple tables. These are the
326length of those fields. */
327constexpr uint32_t DICT_FLD_LEN_SPACE = 4;
328constexpr uint32_t DICT_FLD_LEN_FLAGS = 4;
329
330/* When a row id which is zero modulo this number (which must be a power of
331two) is assigned, the field DICT_HDR_ROW_ID on the dictionary header page is
332updated */
333constexpr uint32_t DICT_HDR_ROW_ID_WRITE_MARGIN = 256;
334
335#ifndef UNIV_HOTBACKUP
336#include "dict0boot.ic"
337#endif /* !UNIV_HOTBACKUP */
338
339#endif
uint32_t space_id_t
Tablespace identifier.
Definition: api0api.h:46
The database buffer pool high-level routines.
dberr_t
Definition: db0err.h:38
dict_col_sys_foreign_enum
Definition: dict0boot.h:236
@ DICT_COL__SYS_FOREIGN__REF_NAME
Definition: dict0boot.h:239
@ DICT_COL__SYS_FOREIGN__ID
Definition: dict0boot.h:237
@ DICT_NUM_COLS__SYS_FOREIGN
Definition: dict0boot.h:241
@ DICT_COL__SYS_FOREIGN__FOR_NAME
Definition: dict0boot.h:238
@ DICT_COL__SYS_FOREIGN__N_COLS
Definition: dict0boot.h:240
constexpr uint32_t DICT_HDR_TABLES
Root of SYS_TABLES clust index.
Definition: dict0boot.h:122
constexpr uint32_t DICT_FIELDS_ID
Definition: dict0boot.h:97
static bool dict_is_old_sys_table(table_id_t id)
Check if a table id belongs to old innodb internal system table.
dict_fld_sys_tables_enum
Definition: dict0boot.h:150
@ DICT_FLD__SYS_TABLES__SPACE
Definition: dict0boot.h:160
@ DICT_FLD__SYS_TABLES__MIX_ID
Definition: dict0boot.h:157
@ DICT_FLD__SYS_TABLES__DB_TRX_ID
Definition: dict0boot.h:152
@ DICT_FLD__SYS_TABLES__CLUSTER_ID
Definition: dict0boot.h:159
@ DICT_FLD__SYS_TABLES__ID
Definition: dict0boot.h:154
@ DICT_FLD__SYS_TABLES__TYPE
Definition: dict0boot.h:156
@ DICT_FLD__SYS_TABLES__NAME
Definition: dict0boot.h:151
@ DICT_FLD__SYS_TABLES__N_COLS
Definition: dict0boot.h:155
@ DICT_FLD__SYS_TABLES__MIX_LEN
Definition: dict0boot.h:158
@ DICT_NUM_FIELDS__SYS_TABLES
Definition: dict0boot.h:161
@ DICT_FLD__SYS_TABLES__DB_ROLL_PTR
Definition: dict0boot.h:153
dict_col_sys_fields_enum
Definition: dict0boot.h:220
@ DICT_COL__SYS_FIELDS__INDEX_ID
Definition: dict0boot.h:221
@ DICT_COL__SYS_FIELDS__POS
Definition: dict0boot.h:222
@ DICT_NUM_COLS__SYS_FIELDS
Definition: dict0boot.h:224
@ DICT_COL__SYS_FIELDS__COL_NAME
Definition: dict0boot.h:223
dict_col_sys_tablespaces_enum
Definition: dict0boot.h:278
@ DICT_COL__SYS_TABLESPACES__FLAGS
Definition: dict0boot.h:281
@ DICT_COL__SYS_TABLESPACES__SPACE
Definition: dict0boot.h:279
@ DICT_NUM_COLS__SYS_TABLESPACES
Definition: dict0boot.h:282
@ DICT_COL__SYS_TABLESPACES__NAME
Definition: dict0boot.h:280
dict_col_sys_columns_enum
Definition: dict0boot.h:170
@ DICT_NUM_COLS__SYS_COLUMNS
Definition: dict0boot.h:178
@ DICT_COL__SYS_COLUMNS__PRTYPE
Definition: dict0boot.h:175
@ DICT_COL__SYS_COLUMNS__PREC
Definition: dict0boot.h:177
@ DICT_COL__SYS_COLUMNS__TABLE_ID
Definition: dict0boot.h:171
@ DICT_COL__SYS_COLUMNS__MTYPE
Definition: dict0boot.h:174
@ DICT_COL__SYS_COLUMNS__LEN
Definition: dict0boot.h:176
@ DICT_COL__SYS_COLUMNS__NAME
Definition: dict0boot.h:173
@ DICT_COL__SYS_COLUMNS__POS
Definition: dict0boot.h:172
constexpr uint32_t DICT_HDR
Definition: dict0boot.h:107
constexpr uint32_t DICT_FLD_LEN_FLAGS
Definition: dict0boot.h:328
dberr_t dict_boot(void)
Initializes the data dictionary memory structures when the database is started.
Definition: dict0boot.cc:204
dict_fld_sys_virtual_enum
Definition: dict0boot.h:316
@ DICT_FLD__SYS_VIRTUAL__POS
Definition: dict0boot.h:318
@ DICT_FLD__SYS_VIRTUAL__DB_ROLL_PTR
Definition: dict0boot.h:321
@ DICT_FLD__SYS_VIRTUAL__BASE_POS
Definition: dict0boot.h:319
@ DICT_FLD__SYS_VIRTUAL__DB_TRX_ID
Definition: dict0boot.h:320
@ DICT_NUM_FIELDS__SYS_VIRTUAL
Definition: dict0boot.h:322
@ DICT_FLD__SYS_VIRTUAL__TABLE_ID
Definition: dict0boot.h:317
constexpr uint32_t DICT_TABLE_IDS_ID
Definition: dict0boot.h:99
dict_col_sys_foreign_cols_enum
Definition: dict0boot.h:260
@ DICT_COL__SYS_FOREIGN_COLS__ID
Definition: dict0boot.h:261
@ DICT_NUM_COLS__SYS_FOREIGN_COLS
Definition: dict0boot.h:265
@ DICT_COL__SYS_FOREIGN_COLS__FOR_COL_NAME
Definition: dict0boot.h:263
@ DICT_COL__SYS_FOREIGN_COLS__POS
Definition: dict0boot.h:262
@ DICT_COL__SYS_FOREIGN_COLS__REF_COL_NAME
Definition: dict0boot.h:264
constexpr uint32_t DICT_HDR_TABLE_IDS
Root of SYS_TABLE_IDS sec index.
Definition: dict0boot.h:124
dict_col_sys_indexes_enum
Definition: dict0boot.h:194
@ DICT_COL__SYS_INDEXES__ID
Definition: dict0boot.h:196
@ DICT_COL__SYS_INDEXES__TYPE
Definition: dict0boot.h:199
@ DICT_COL__SYS_INDEXES__PAGE_NO
Definition: dict0boot.h:201
@ DICT_NUM_COLS__SYS_INDEXES
Definition: dict0boot.h:203
@ DICT_COL__SYS_INDEXES__N_FIELDS
Definition: dict0boot.h:198
@ DICT_COL__SYS_INDEXES__NAME
Definition: dict0boot.h:197
@ DICT_COL__SYS_INDEXES__MERGE_THRESHOLD
Definition: dict0boot.h:202
@ DICT_COL__SYS_INDEXES__SPACE
Definition: dict0boot.h:200
@ DICT_COL__SYS_INDEXES__TABLE_ID
Definition: dict0boot.h:195
static row_id_t dict_sys_get_new_row_id(void)
Returns a new row id.
constexpr uint32_t DICT_HDR_COLUMNS
Root of SYS_COLUMNS clust index.
Definition: dict0boot.h:126
static void dict_sys_write_row_id(byte *field, row_id_t row_id)
Writes a row id to a record or other 6-byte stored form.
constexpr uint32_t DICT_INDEXES_ID
Definition: dict0boot.h:96
static row_id_t dict_sys_read_row_id(const byte *field)
Reads a row id from a record or other 6-byte stored form.
dict_fld_sys_foreign_cols_enum
Definition: dict0boot.h:268
@ DICT_FLD__SYS_FOREIGN_COLS__POS
Definition: dict0boot.h:270
@ DICT_FLD__SYS_FOREIGN_COLS__REF_COL_NAME
Definition: dict0boot.h:274
@ DICT_FLD__SYS_FOREIGN_COLS__DB_ROLL_PTR
Definition: dict0boot.h:272
@ DICT_FLD__SYS_FOREIGN_COLS__DB_TRX_ID
Definition: dict0boot.h:271
@ DICT_FLD__SYS_FOREIGN_COLS__ID
Definition: dict0boot.h:269
@ DICT_FLD__SYS_FOREIGN_COLS__FOR_COL_NAME
Definition: dict0boot.h:273
@ DICT_NUM_FIELDS__SYS_FOREIGN_COLS
Definition: dict0boot.h:275
byte dict_hdr_t
Definition: dict0boot.h:45
dberr_t dict_create(void)
Creates and initializes the data dictionary at the server bootstrap.
Definition: dict0boot.cc:440
constexpr uint32_t DICT_HDR_INDEX_ID
The latest assigned index id.
Definition: dict0boot.h:116
constexpr uint32_t DICT_HDR_FIRST_ID
the ids for tables etc.
Definition: dict0boot.h:104
dict_fld_sys_fields_enum
Definition: dict0boot.h:227
@ DICT_FLD__SYS_FIELDS__POS
Definition: dict0boot.h:229
@ DICT_NUM_FIELDS__SYS_FIELDS
Definition: dict0boot.h:233
@ DICT_FLD__SYS_FIELDS__INDEX_ID
Definition: dict0boot.h:228
@ DICT_FLD__SYS_FIELDS__DB_ROLL_PTR
Definition: dict0boot.h:231
@ DICT_FLD__SYS_FIELDS__DB_TRX_ID
Definition: dict0boot.h:230
@ DICT_FLD__SYS_FIELDS__COL_NAME
Definition: dict0boot.h:232
constexpr uint32_t DICT_HDR_TABLE_ID
The latest assigned table id.
Definition: dict0boot.h:114
dict_fld_sys_table_ids_enum
Definition: dict0boot.h:164
@ DICT_FLD__SYS_TABLE_IDS__ID
Definition: dict0boot.h:165
@ DICT_FLD__SYS_TABLE_IDS__NAME
Definition: dict0boot.h:166
@ DICT_NUM_FIELDS__SYS_TABLE_IDS
Definition: dict0boot.h:167
constexpr uint32_t DICT_FLD_LEN_SPACE
Definition: dict0boot.h:327
dict_hdr_t * dict_hdr_get(mtr_t *mtr)
Gets a pointer to the dictionary header and x-latches its page.
Definition: dict0boot.cc:49
dict_fld_sys_foreign_for_name_enum
Definition: dict0boot.h:254
@ DICT_FLD__SYS_FOREIGN_FOR_NAME__ID
Definition: dict0boot.h:256
@ DICT_FLD__SYS_FOREIGN_FOR_NAME__NAME
Definition: dict0boot.h:255
@ DICT_NUM_FIELDS__SYS_FOREIGN_FOR_NAME
Definition: dict0boot.h:257
constexpr uint32_t DICT_HDR_INDEXES
Root of SYS_INDEXES clust index.
Definition: dict0boot.h:128
void dict_hdr_get_new_id(table_id_t *table_id, space_index_t *index_id, space_id_t *space_id, const dict_table_t *table, bool disable_redo)
Returns a new table, index, or space id.
Definition: dict0boot.cc:69
dict_col_sys_tables_enum
Definition: dict0boot.h:138
@ DICT_COL__SYS_TABLES__SPACE
Definition: dict0boot.h:146
@ DICT_COL__SYS_TABLES__CLUSTER_ID
Definition: dict0boot.h:145
@ DICT_COL__SYS_TABLES__MIX_LEN
Definition: dict0boot.h:144
@ DICT_NUM_COLS__SYS_TABLES
Definition: dict0boot.h:147
@ DICT_COL__SYS_TABLES__MIX_ID
Definition: dict0boot.h:143
@ DICT_COL__SYS_TABLES__ID
Definition: dict0boot.h:140
@ DICT_COL__SYS_TABLES__NAME
Definition: dict0boot.h:139
@ DICT_COL__SYS_TABLES__N_COLS
Definition: dict0boot.h:141
@ DICT_COL__SYS_TABLES__TYPE
Definition: dict0boot.h:142
constexpr uint32_t DICT_COLUMNS_ID
Definition: dict0boot.h:95
constexpr uint32_t DICT_HDR_FSEG_HEADER
Definition: dict0boot.h:134
constexpr uint32_t DICT_HDR_MAX_SPACE_ID
The latest assigned space id,or 0.
Definition: dict0boot.h:118
constexpr uint32_t DICT_HDR_FIELDS
Root of SYS_FIELDS clust index.
Definition: dict0boot.h:130
constexpr uint32_t DICT_HDR_ROW_ID_WRITE_MARGIN
Definition: dict0boot.h:333
dict_fld_sys_datafiles_enum
Definition: dict0boot.h:300
@ DICT_NUM_FIELDS__SYS_DATAFILES
Definition: dict0boot.h:305
@ DICT_FLD__SYS_DATAFILES__SPACE
Definition: dict0boot.h:301
@ DICT_FLD__SYS_DATAFILES__PATH
Definition: dict0boot.h:304
@ DICT_FLD__SYS_DATAFILES__DB_ROLL_PTR
Definition: dict0boot.h:303
@ DICT_FLD__SYS_DATAFILES__DB_TRX_ID
Definition: dict0boot.h:302
void dict_hdr_flush_row_id(void)
Writes the current value of the row id counter to the dictionary header file page.
Definition: dict0boot.cc:150
dict_fld_sys_tablespaces_enum
Definition: dict0boot.h:285
@ DICT_FLD__SYS_TABLESPACES__FLAGS
Definition: dict0boot.h:290
@ DICT_FLD__SYS_TABLESPACES__DB_TRX_ID
Definition: dict0boot.h:287
@ DICT_FLD__SYS_TABLESPACES__NAME
Definition: dict0boot.h:289
@ DICT_NUM_FIELDS__SYS_TABLESPACES
Definition: dict0boot.h:291
@ DICT_FLD__SYS_TABLESPACES__DB_ROLL_PTR
Definition: dict0boot.h:288
@ DICT_FLD__SYS_TABLESPACES__SPACE
Definition: dict0boot.h:286
constexpr uint32_t DICT_HDR_ROW_ID
The latest assigned row id.
Definition: dict0boot.h:112
constexpr uint32_t DICT_HDR_MIX_ID_LOW
Obsolete,always DICT_HDR_FIRST_ID.
Definition: dict0boot.h:120
dict_col_sys_virtual_enum
Definition: dict0boot.h:309
@ DICT_COL__SYS_VIRTUAL__POS
Definition: dict0boot.h:311
@ DICT_NUM_COLS__SYS_VIRTUAL
Definition: dict0boot.h:313
@ DICT_COL__SYS_VIRTUAL__TABLE_ID
Definition: dict0boot.h:310
@ DICT_COL__SYS_VIRTUAL__BASE_POS
Definition: dict0boot.h:312
dict_fld_sys_indexes_enum
Definition: dict0boot.h:206
@ DICT_FLD__SYS_INDEXES__PAGE_NO
Definition: dict0boot.h:215
@ DICT_FLD__SYS_INDEXES__MERGE_THRESHOLD
Definition: dict0boot.h:216
@ DICT_FLD__SYS_INDEXES__NAME
Definition: dict0boot.h:211
@ DICT_NUM_FIELDS__SYS_INDEXES
Definition: dict0boot.h:217
@ DICT_FLD__SYS_INDEXES__ID
Definition: dict0boot.h:208
@ DICT_FLD__SYS_INDEXES__DB_TRX_ID
Definition: dict0boot.h:209
@ DICT_FLD__SYS_INDEXES__N_FIELDS
Definition: dict0boot.h:212
@ DICT_FLD__SYS_INDEXES__TABLE_ID
Definition: dict0boot.h:207
@ DICT_FLD__SYS_INDEXES__SPACE
Definition: dict0boot.h:214
@ DICT_FLD__SYS_INDEXES__DB_ROLL_PTR
Definition: dict0boot.h:210
@ DICT_FLD__SYS_INDEXES__TYPE
Definition: dict0boot.h:213
constexpr uint32_t DICT_TABLES_ID
The ids for the basic system tables and their indexes.
Definition: dict0boot.h:94
dict_fld_sys_foreign_enum
Definition: dict0boot.h:244
@ DICT_FLD__SYS_FOREIGN__FOR_NAME
Definition: dict0boot.h:248
@ DICT_FLD__SYS_FOREIGN__N_COLS
Definition: dict0boot.h:250
@ DICT_FLD__SYS_FOREIGN__DB_ROLL_PTR
Definition: dict0boot.h:247
@ DICT_NUM_FIELDS__SYS_FOREIGN
Definition: dict0boot.h:251
@ DICT_FLD__SYS_FOREIGN__REF_NAME
Definition: dict0boot.h:249
@ DICT_FLD__SYS_FOREIGN__DB_TRX_ID
Definition: dict0boot.h:246
@ DICT_FLD__SYS_FOREIGN__ID
Definition: dict0boot.h:245
dict_col_sys_datafiles_enum
Definition: dict0boot.h:294
@ DICT_NUM_COLS__SYS_DATAFILES
Definition: dict0boot.h:297
@ DICT_COL__SYS_DATAFILES__PATH
Definition: dict0boot.h:296
@ DICT_COL__SYS_DATAFILES__SPACE
Definition: dict0boot.h:295
dict_fld_sys_columns_enum
Definition: dict0boot.h:181
@ DICT_FLD__SYS_COLUMNS__PREC
Definition: dict0boot.h:190
@ DICT_FLD__SYS_COLUMNS__NAME
Definition: dict0boot.h:186
@ DICT_NUM_FIELDS__SYS_COLUMNS
Definition: dict0boot.h:191
@ DICT_FLD__SYS_COLUMNS__DB_TRX_ID
Definition: dict0boot.h:184
@ DICT_FLD__SYS_COLUMNS__LEN
Definition: dict0boot.h:189
@ DICT_FLD__SYS_COLUMNS__MTYPE
Definition: dict0boot.h:187
@ DICT_FLD__SYS_COLUMNS__TABLE_ID
Definition: dict0boot.h:182
@ DICT_FLD__SYS_COLUMNS__DB_ROLL_PTR
Definition: dict0boot.h:185
@ DICT_FLD__SYS_COLUMNS__PRTYPE
Definition: dict0boot.h:188
@ DICT_FLD__SYS_COLUMNS__POS
Definition: dict0boot.h:183
Data dictionary creation and booting.
Data dictionary system.
ib_id_t space_index_t
Index identifier (unique within a tablespace).
Definition: dict0types.h:219
ib_id_t table_id_t
Table or partition identifier (unique within an InnoDB instance).
Definition: dict0types.h:217
File space management.
constexpr uint32_t FSEG_PAGE_DATA
On a page of any file segment, data may be put starting from this offset.
Definition: fsp0types.h:78
Mini-transaction logging routines.
Mini-transaction buffer.
static PFS_engine_table_share_proxy table
Definition: pfs.cc:60
Data structure for a database table.
Definition: dict0mem.h:1908
Mini-transaction handle and buffer.
Definition: mtr0mtr.h:176
ib_id_t row_id_t
Row identifier (DB_ROW_ID, DATA_ROW_ID)
Definition: trx0types.h:131
Version control for database, common definitions, and include files.
Utilities for byte operations.