Drizzled Public API Documentation

trx0types.h File Reference
#include "ut0byte.h"

Go to the source code of this file.

Classes

struct  trx_savept_struct

Macros

#define trx0types_h
#define TRX_ID_FMT   "%"PRIx64
#define TRX_ID_MAX_LEN   17

Typedefs

typedef ib_id_t row_id_t
typedef ib_id_t trx_id_t
typedef ib_id_t roll_ptr_t
typedef ib_id_t undo_no_t
typedef struct trx_savept_struct trx_savept_t
typedef struct trx_struct trx_t
typedef struct trx_sys_struct trx_sys_t
typedef struct
trx_doublewrite_struct 
trx_doublewrite_t
typedef struct trx_sig_struct trx_sig_t
typedef struct trx_rseg_struct trx_rseg_t
typedef struct trx_undo_struct trx_undo_t
typedef struct trx_undo_arr_struct trx_undo_arr_t
typedef struct trx_undo_inf_struct trx_undo_inf_t
typedef struct trx_purge_struct trx_purge_t
typedef struct roll_node_struct roll_node_t
typedef struct commit_node_struct commit_node_t
typedef struct
trx_named_savept_struct 
trx_named_savept_t
typedef byte trx_sysf_t
typedef byte trx_rsegf_t
typedef byte trx_usegf_t
typedef byte trx_ulogf_t
typedef byte trx_upagef_t
typedef byte trx_undo_rec_t

Enumerations

enum  trx_rb_ctx { RB_NONE = 0, RB_NORMAL, RB_RECOVERY_PURGE_REC, RB_RECOVERY }

Detailed Description

Transaction system global type definitions

Created 3/26/1996 Heikki Tuuri

Definition in file trx0types.h.


Macro Definition Documentation

#define TRX_ID_MAX_LEN   17

maximum length that a formatted trx_t::id could take, not including the terminating NUL character.

Definition at line 37 of file trx0types.h.


Typedef Documentation

Commit command node in a query graph

Definition at line 62 of file trx0types.h.

typedef struct roll_node_struct roll_node_t

Rollback command node in a query graph

Definition at line 60 of file trx0types.h.

typedef ib_id_t roll_ptr_t

Rollback pointer (DB_ROLL_PTR, DATA_ROLL_PTR)

Definition at line 87 of file trx0types.h.

typedef ib_id_t row_id_t

Row identifier (DB_ROW_ID, DATA_ROW_ID)

Definition at line 83 of file trx0types.h.

Doublewrite information

Definition at line 46 of file trx0types.h.

typedef ib_id_t trx_id_t

Transaction identifier (DB_TRX_ID, DATA_TRX_ID)

Definition at line 85 of file trx0types.h.

SAVEPOINT command node in a query graph

Definition at line 64 of file trx0types.h.

typedef struct trx_purge_struct trx_purge_t

The control structure used in the purge operation

Definition at line 58 of file trx0types.h.

typedef struct trx_rseg_struct trx_rseg_t

Rollback segment

Definition at line 50 of file trx0types.h.

typedef byte trx_rsegf_t

Rollback segment header

Definition at line 103 of file trx0types.h.

Transaction savepoint

Definition at line 92 of file trx0types.h.

typedef struct trx_sig_struct trx_sig_t

Signal

Definition at line 48 of file trx0types.h.

typedef struct trx_sys_struct trx_sys_t

Transaction system

Definition at line 44 of file trx0types.h.

typedef byte trx_sysf_t

File objects Transaction system header

Definition at line 101 of file trx0types.h.

typedef struct trx_struct trx_t

Memory objects Transaction

Definition at line 42 of file trx0types.h.

typedef byte trx_ulogf_t

Undo log header

Definition at line 107 of file trx0types.h.

Array of undo numbers of undo records being rolled back or purged

Definition at line 54 of file trx0types.h.

A cell of trx_undo_arr_t

Definition at line 56 of file trx0types.h.

typedef byte trx_undo_rec_t

Undo log record

Definition at line 112 of file trx0types.h.

typedef struct trx_undo_struct trx_undo_t

Transaction undo log

Definition at line 52 of file trx0types.h.

typedef byte trx_upagef_t

Undo log page header

Definition at line 109 of file trx0types.h.

typedef byte trx_usegf_t

Undo segment header

Definition at line 105 of file trx0types.h.

typedef ib_id_t undo_no_t

Undo number

Definition at line 89 of file trx0types.h.


Enumeration Type Documentation

enum trx_rb_ctx

Rollback contexts

Enumerator:
RB_NONE 

no rollback

RB_NORMAL 

normal rollback

RB_RECOVERY_PURGE_REC 

rolling back an incomplete transaction, in crash recovery, rolling back an INSERT that was performed by updating a delete-marked record; if the delete-marked record no longer exists in an active read view, it will be purged

RB_RECOVERY 

rolling back an incomplete transaction, in crash recovery

Definition at line 68 of file trx0types.h.