MySQL 5.6.14 Source Code Document
|
Go to the source code of this file.
Functions | |
UNIV_INTERN ibool | ib_handle_errors (dberr_t *new_err, trx_t *trx, que_thr_t *thr, trx_savept_t *savept) |
UNIV_INTERN dberr_t | ib_trx_lock_table_with_retry (trx_t *trx, dict_table_t *table, enum lock_mode mode) |
Variables | |
my_bool | ib_binlog_enabled |
my_bool | ib_mdl_enabled |
my_bool | ib_disable_row_lock |
ulong | ib_trx_level_setting |
ulong | ib_bk_commit_interval |
InnoDB Native API
3/20/2011 Jimmy Yang extracted from Embedded InnoDB 2008 Created by Sunny Bains
Definition in file api0misc.h.
UNIV_INTERN ibool ib_handle_errors | ( | dberr_t * | new_err, |
trx_t * | trx, | ||
que_thr_t * | thr, | ||
trx_savept_t * | savept | ||
) |
in: savepoint or NULL
Handles user errors and lock waits detected by the database engine.
new_err | out: possible new error encountered in lock wait, or if no new error, the value of trx->error_state at the entry of this function |
trx | in: transaction |
thr | in: query thread |
savept | in: savepoint or NULL |
Definition at line 127 of file api0misc.cc.
UNIV_INTERN dberr_t ib_trx_lock_table_with_retry | ( | trx_t * | trx, |
dict_table_t * | table, | ||
enum lock_mode | mode | ||
) |
in: lock mode
Sets a lock on a table.
trx | in/out: transaction |
table | in: table to lock |
mode | in: LOCK_X or LOCK_S |
Definition at line 51 of file api0misc.cc.
my_bool ib_binlog_enabled |
Whether binlog is enabled for applications using InnoDB APIs
configure variable for binlog option with InnoDB APIs
Definition at line 60 of file api0api.cc.
ulong ib_bk_commit_interval |
configure value for background commit interval (in seconds)
configure variable for background commit interval in seconds
Definition at line 72 of file api0api.cc.
my_bool ib_disable_row_lock |
Whether InnoDB row lock is disabled for applications using InnoDB APIs
configure variable for disable rowlock with InnoDB APIs
Definition at line 66 of file api0api.cc.
my_bool ib_mdl_enabled |
Whether MySQL MDL is enabled for applications using InnoDB APIs
configure variable for MDL option with InnoDB APIs
Definition at line 63 of file api0api.cc.
ulong ib_trx_level_setting |
configure value for transaction isolation level
configure variable for Transaction isolation levels
Definition at line 69 of file api0api.cc.