MySQL 8.4.2
Source Code Documentation
|
InnoDB Native API. More...
#include <sys/types.h>
#include "handler.h"
#include "os0file.h"
#include "que0que.h"
#include "trx0trx.h"
#include "univ.i"
Go to the source code of this file.
Classes | |
struct | ib_sdi_key |
struct | ib_sdi_vector |
Functions | |
bool | ib_handle_errors (dberr_t *new_err, trx_t *trx, que_thr_t *thr, trx_savept_t *savept, bool is_sdi) |
Handles user errors and lock waits detected by the database engine. More... | |
dberr_t | ib_trx_lock_table_with_retry (trx_t *trx, dict_table_t *table, enum lock_mode mode) |
in: lock mode More... | |
Variables | |
bool | ib_binlog_enabled |
Whether binlog is enabled for applications using InnoDB APIs. More... | |
bool | ib_mdl_enabled |
Whether MySQL MDL is enabled for applications using InnoDB APIs. More... | |
bool | ib_disable_row_lock |
Whether InnoDB row lock is disabled for applications using InnoDB APIs. More... | |
ulong | ib_trx_level_setting |
configure value for transaction isolation level More... | |
ulong | ib_bk_commit_interval |
configure value for background commit interval (in seconds) More... | |
InnoDB Native API.
3/20/2011 Jimmy Yang extracted from Embedded InnoDB 2008 Created by Sunny Bains
bool ib_handle_errors | ( | dberr_t * | new_err, |
trx_t * | trx, | ||
que_thr_t * | thr, | ||
trx_savept_t * | savept, | ||
bool | is_sdi | ||
) |
Handles user errors and lock waits detected by the database engine.
[out] | new_err | possible new error encountered in lock wait, or if no new error, the value of trx->error_state at the entry of this function |
[in] | trx | transaction |
[in] | thr | query thread |
[in] | savept | savepoint or NULL |
[in] | is_sdi | true if table is SDI |
dberr_t ib_trx_lock_table_with_retry | ( | trx_t * | trx, |
dict_table_t * | table, | ||
enum lock_mode | mode | ||
) |
in: lock mode
in: lock mode
trx | in/out: transaction |
table | in: table to lock |
mode | in: LOCK_X or LOCK_S |
|
extern |
Whether binlog is enabled for applications using InnoDB APIs.
Whether binlog is enabled for applications using InnoDB APIs.
|
extern |
configure value for background commit interval (in seconds)
configure value for background commit interval (in seconds)
|
extern |
Whether InnoDB row lock is disabled for applications using InnoDB APIs.
Whether InnoDB row lock is disabled for applications using InnoDB APIs.
|
extern |
Whether MySQL MDL is enabled for applications using InnoDB APIs.
Whether MySQL MDL is enabled for applications using InnoDB APIs.
|
extern |
configure value for transaction isolation level
configure value for transaction isolation level