MySQL 5.6.14 Source Code Document
|
#include "mtr0mtr.h"
#include "buf0buf.h"
#include "buf0flu.h"
#include "page0types.h"
#include "mtr0log.h"
#include "log0log.h"
#include "log0recv.h"
Go to the source code of this file.
Macros | |
#define | mtr_memo_slot_release(mtr, slot) mtr_memo_slot_release_func(slot) |
Functions | |
UNIV_INTERN ibool | mtr_block_dirtied (const buf_block_t *block) |
UNIV_INTERN void | mtr_commit (mtr_t *mtr) |
UNIV_INTERN bool | mtr_memo_release (mtr_t *mtr, void *object, ulint type) |
UNIV_INTERN ulint | mtr_read_ulint (const byte *ptr, ulint type, mtr_t *mtr __attribute__((unused))) |
UNIV_INTERN ibool mtr_block_dirtied | ( | const buf_block_t * | block | ) |
Checks if a mini-transaction is dirtying a clean page.
block | in: block being x-fixed |
Definition at line 46 of file mtr0mtr.cc.
UNIV_INTERN void mtr_commit | ( | mtr_t * | mtr | ) |
Commits a mini-transaction.
mtr | in: mini-transaction |
Definition at line 305 of file mtr0mtr.cc.
UNIV_INTERN bool mtr_memo_release | ( | mtr_t * | mtr, |
void * | object, | ||
ulint | type | ||
) |
Releases an object in the memo stack.
mtr | in/out: mini-transaction |
object | in: object |
type | in: object type: MTR_MEMO_S_LOCK, ... |
Definition at line 349 of file mtr0mtr.cc.
Reads 1 - 4 bytes from a file page buffered in the buffer pool.
ptr | in: pointer from where to read |
type | in: MLOG_1BYTE, MLOG_2BYTES, MLOG_4BYTES |
__attribute__ | in: mini-transaction handle |
Definition at line 391 of file mtr0mtr.cc.