![]() |
MySQL
8.0.23
Source Code Documentation
|
#include "univ.i"
Go to the source code of this file.
Macros | |
#define | REC_MAX_N_FIELDS (1024 - 1) |
#define | REC_MAX_HEAP_NO (2 * 8192 - 1) |
#define | REC_MAX_N_OWNED (16 - 1) |
#define | REC_MAX_N_USER_FIELDS (REC_MAX_N_FIELDS - DATA_N_SYS_COLS * 2) |
#define | REC_ANTELOPE_MAX_INDEX_COL_LEN 768 |
#define | REC_VERSION_56_MAX_INDEX_COL_LEN 3072 |
Maximum indexed field length for tables that have atomic BLOBs. More... | |
Typedefs | |
typedef byte | rec_t |
typedef enum rec_format_enum | rec_format_t |
Enumerations | |
enum | rec_format_enum { REC_FORMAT_REDUNDANT = 0, REC_FORMAT_COMPACT = 1, REC_FORMAT_COMPRESSED = 2, REC_FORMAT_DYNAMIC = 3 } |
Innodb row types are a subset of the MySQL global enum row_type. More... | |
Record manager global types
Created 5/30/1994 Heikki Tuuri
#define REC_ANTELOPE_MAX_INDEX_COL_LEN 768 |
#define REC_MAX_HEAP_NO (2 * 8192 - 1) |
#define REC_MAX_N_FIELDS (1024 - 1) |
#define REC_MAX_N_OWNED (16 - 1) |
#define REC_MAX_N_USER_FIELDS (REC_MAX_N_FIELDS - DATA_N_SYS_COLS * 2) |
#define REC_VERSION_56_MAX_INDEX_COL_LEN 3072 |
Maximum indexed field length for tables that have atomic BLOBs.
This (3072) is the maximum index row length allowed, so we cannot create index prefix column longer than that.
typedef enum rec_format_enum rec_format_t |
enum rec_format_enum |
Innodb row types are a subset of the MySQL global enum row_type.
They are made into their own enum so that switch statements can account for each of them.
Enumerator | |
---|---|
REC_FORMAT_REDUNDANT | REDUNDANT row format. |
REC_FORMAT_COMPACT | COMPACT row format. |
REC_FORMAT_COMPRESSED | COMPRESSED row format. |
REC_FORMAT_DYNAMIC | DYNAMIC row format. |