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

Go to the source code of this file.

Macros

#define DICT_HDR_SPACE   0 /* the SYSTEM tablespace */
#define DICT_HDR_PAGE_NO   FSP_DICT_HDR_PAGE_NO
#define DICT_IBUF_ID_MIN   0xFFFFFFFF00000000ULL
#define tmp_file_prefix   "#sql"
#define tmp_file_prefix_length   4
#define TEMP_FILE_PREFIX_INNODB   "#sql-ib"
#define TEMP_TABLE_PREFIX   "#sql"
#define TEMP_TABLE_PATH_PREFIX   "/" TEMP_TABLE_PREFIX

Typedefs

typedef ib_id_t table_id_t
typedef ib_id_t index_id_t

Enumerations

enum  dict_err_ignore_t {
  DICT_ERR_IGNORE_NONE = 0, DICT_ERR_IGNORE_INDEX_ROOT = 1, DICT_ERR_IGNORE_CORRUPT = 2, DICT_ERR_IGNORE_FK_NOKEY = 4,
  DICT_ERR_IGNORE_RECOVER_LOCK = 8, DICT_ERR_IGNORE_ALL = 0xFFFF
}
enum  ib_quiesce_t { QUIESCE_NONE, QUIESCE_START, QUIESCE_COMPLETE }

Variables

uint ibuf_debug

Detailed Description

Data dictionary global types

Created 1/8/1996 Heikki Tuuri

Macro Definition Documentation

#define tmp_file_prefix   "#sql"

Prefix for tmp tables, adopted from sql/table.h

Enumeration Type Documentation

Error to ignore when we load table dictionary into memory. However,

the table and index will be marked as "corrupted", and caller will be responsible to deal with corrupted table or index. Note: please define the IGNORE_ERR_* as bits, so their value can be or-ed together

Enumerator:
DICT_ERR_IGNORE_NONE 

no error to ignore

DICT_ERR_IGNORE_INDEX_ROOT 

ignore error if index root page is FIL_NULL or incorrect value

DICT_ERR_IGNORE_CORRUPT 

skip corrupted indexes

DICT_ERR_IGNORE_FK_NOKEY 

ignore error if any foreign key is missing

DICT_ERR_IGNORE_RECOVER_LOCK 

Used when recovering table locks for resurrected transactions. Silently load a missing tablespace, and do not load incomplete index definitions.

DICT_ERR_IGNORE_ALL 

ignore all errors

Quiescing states for flushing tables to disk.

Enumerator:
QUIESCE_START 

Initialise, prepare to start

QUIESCE_COMPLETE 

All done

Variable Documentation

uint ibuf_debug

Flag to control insert buffer debugging.