MySQL 8.0.31
Source Code Documentation
row0quiesce.h File Reference

Header file for tablespace quiesce functions. More...

#include "dict0types.h"
#include "univ.i"

Go to the source code of this file.

Functions

void row_quiesce_table_start (dict_table_t *table, trx_t *trx)
 Quiesce the tablespace that the table resides in. More...
 
dberr_t row_quiesce_set_state (dict_table_t *table, ib_quiesce_t state, trx_t *trx)
 Set a table's quiesce state. More...
 
void row_quiesce_table_complete (dict_table_t *table, trx_t *trx)
 Cleanup after table quiesce. More...
 

Variables

constexpr uint32_t IB_EXPORT_CFG_VERSION_V1 = 1
 The version number of the export meta-data text file. More...
 
constexpr uint32_t IB_EXPORT_CFG_VERSION_V2 = 2
 The v2 .cfg has space flags written. More...
 
constexpr uint32_t IB_EXPORT_CFG_VERSION_V3 = 3
 The v3 .cfg writes instant column default values in metadata section. More...
 
constexpr uint32_t IB_EXPORT_CFG_VERSION_V4 = 4
 The v4 .cfg has the is_ascending boolean written for each index column. More...
 
constexpr uint32_t IB_EXPORT_CFG_VERSION_V5 = 5
 The v5 .cfg writes number of nullable column in table before first instant column. More...
 
constexpr uint32_t IB_EXPORT_CFG_VERSION_V6 = 6
 The v6 .cfg writes the Compression::Type of the table. More...
 
constexpr uint32_t IB_EXPORT_CFG_VERSION_V7 = 7
 The v7 .cfg has metadata of INSTANT DROP/ADD columns. More...
 
constexpr uint32_t IB_EXPORT_CFG_VERSION_V99 = 99
 Future version used to test that the correct error message is returned. More...
 

Detailed Description

Header file for tablespace quiesce functions.

Created 2012-02-08 by Sunny Bains

Function Documentation

◆ row_quiesce_set_state()

dberr_t row_quiesce_set_state ( dict_table_t table,
ib_quiesce_t  state,
trx_t trx 
)

Set a table's quiesce state.

Returns
DB_SUCCESS or error code. in/out: transaction
DB_SUCCESS or error code.
Parameters
tablein: quiesce this table
statein: quiesce state to set
trxin/out: transaction

◆ row_quiesce_table_complete()

void row_quiesce_table_complete ( dict_table_t table,
trx_t trx 
)

Cleanup after table quiesce.

Parameters
[in]tableQuiesce this table
[in,out]trxTransaction/session

◆ row_quiesce_table_start()

void row_quiesce_table_start ( dict_table_t table,
trx_t trx 
)

Quiesce the tablespace that the table resides in.

Parameters
[in]tableQuiesce this table
[in,out]trxTransaction/session

Variable Documentation

◆ IB_EXPORT_CFG_VERSION_V1

constexpr uint32_t IB_EXPORT_CFG_VERSION_V1 = 1
constexpr

The version number of the export meta-data text file.

◆ IB_EXPORT_CFG_VERSION_V2

constexpr uint32_t IB_EXPORT_CFG_VERSION_V2 = 2
constexpr

The v2 .cfg has space flags written.

◆ IB_EXPORT_CFG_VERSION_V3

constexpr uint32_t IB_EXPORT_CFG_VERSION_V3 = 3
constexpr

The v3 .cfg writes instant column default values in metadata section.

◆ IB_EXPORT_CFG_VERSION_V4

constexpr uint32_t IB_EXPORT_CFG_VERSION_V4 = 4
constexpr

The v4 .cfg has the is_ascending boolean written for each index column.

◆ IB_EXPORT_CFG_VERSION_V5

constexpr uint32_t IB_EXPORT_CFG_VERSION_V5 = 5
constexpr

The v5 .cfg writes number of nullable column in table before first instant column.

◆ IB_EXPORT_CFG_VERSION_V6

constexpr uint32_t IB_EXPORT_CFG_VERSION_V6 = 6
constexpr

The v6 .cfg writes the Compression::Type of the table.

◆ IB_EXPORT_CFG_VERSION_V7

constexpr uint32_t IB_EXPORT_CFG_VERSION_V7 = 7
constexpr

The v7 .cfg has metadata of INSTANT DROP/ADD columns.

◆ IB_EXPORT_CFG_VERSION_V99

constexpr uint32_t IB_EXPORT_CFG_VERSION_V99 = 99
constexpr

Future version used to test that the correct error message is returned.