InnoDB Plugin  1.0
Data Structures | Functions
read0read.ic File Reference
#include "trx0sys.h"
Include dependency graph for read0read.ic:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ViewCheck

Functions

static bool read_view_validate (const read_view_t *view)
static bool read_view_list_validate (void)
UNIV_INLINE bool read_view_sees_trx_id (const read_view_t *view, trx_id_t trx_id)
UNIV_INLINE void read_view_remove (read_view_t *view, bool own_mutex)

Detailed Description

Cursor read

Created 2/16/1997 Heikki Tuuri

Function Documentation

static bool read_view_list_validate ( void  )
static

Validates a read view list.

UNIV_INLINE void read_view_remove ( read_view_t view,
bool  own_mutex 
)

Remove a read view from the trx_sys->view_list.

Parameters
viewin: read view, can be 0
own_mutexin: true if caller owns the trx_sys_t::mutex
UNIV_INLINE bool read_view_sees_trx_id ( const read_view_t view,
trx_id_t  trx_id 
)

Checks if a read view sees the specified transaction.

Returns
true if sees
Parameters
viewin: read view
trx_idin: trx id
static bool read_view_validate ( const read_view_t view)
static

Validates a read view object.

Parameters
viewin: view to validate