InnoDB Plugin  1.0
Macros | Typedefs | Enumerations
rem0types.h File Reference
This graph shows which files directly or indirectly include this file:

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

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 }

Detailed Description

Record manager global types

Created 5/30/1994 Heikki Tuuri

Macro Definition Documentation

#define REC_VERSION_56_MAX_INDEX_COL_LEN   3072
Maximum indexed field length for table format UNIV_FORMAT_B and

beyond. This (3072) is the maximum index row length allowed, so we cannot create index prefix column longer than that.

Enumeration Type Documentation

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