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