MySQL  8.0.19
Source Code Documentation
row0quiesce.h File Reference
#include "dict0types.h"
#include "univ.i"
#include "row0quiesce.ic"

Go to the source code of this file.

Macros

#define IB_EXPORT_CFG_VERSION_V1   1
 The version number of the export meta-data text file. More...
 
#define IB_EXPORT_CFG_VERSION_V2   2
 The v2 .cfg has space flags written. More...
 
#define IB_EXPORT_CFG_VERSION_V3   3
 The v3 .cfg writes instant column default values in metadata section. More...
 
#define IB_EXPORT_CFG_VERSION_V4   4
 The v4 .cfg has the is_ascending boolean written for each index column. More...
 
#define IB_EXPORT_CFG_VERSION_V99   99
 Future version used to test that the correct error message is returned. More...
 

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...
 

Detailed Description

Header file for tablespace quiesce functions.

Created 2012-02-08 by Sunny Bains

Macro Definition Documentation

◆ IB_EXPORT_CFG_VERSION_V1

#define IB_EXPORT_CFG_VERSION_V1   1

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

◆ IB_EXPORT_CFG_VERSION_V2

#define IB_EXPORT_CFG_VERSION_V2   2

The v2 .cfg has space flags written.

◆ IB_EXPORT_CFG_VERSION_V3

#define IB_EXPORT_CFG_VERSION_V3   3

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

◆ IB_EXPORT_CFG_VERSION_V4

#define IB_EXPORT_CFG_VERSION_V4   4

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

◆ IB_EXPORT_CFG_VERSION_V99

#define IB_EXPORT_CFG_VERSION_V99   99

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

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 errro code.
DB_SUCCESS or error code.

◆ row_quiesce_table_complete()

void row_quiesce_table_complete ( dict_table_t table,
trx_t trx 
)

Cleanup after table quiesce.

in/out: transaction/session

Parameters
tablein: quiesce this table

◆ row_quiesce_table_start()

void row_quiesce_table_start ( dict_table_t table,
trx_t trx 
)

Quiesce the tablespace that the table resides in.

in/out: transaction/session

Parameters
tablein: quiesce this table