Map from undo tablespace number to space id to allow a reserved undo space ID to be found quickly.
More...
#include <trx0undo_trunc.h>
Map from undo tablespace number to space id to allow a reserved undo space ID to be found quickly.
◆ Undo_num2id_map()
| undo_truncate::Undo_num2id_map::Undo_num2id_map |
( |
const std::vector< space_id_t > & |
space_ids | ) |
|
|
inline |
Constructor which will create the mapping from UNDO space number to UNDO space id from the given space_id list.
- Parameters
-
| [in] | space_ids | list of space ids |
◆ contains()
| bool undo_truncate::Undo_num2id_map::contains |
( |
space_id_t |
num | ) |
|
|
inline |
check if mapping contains an entry for given UNDO space number.
- Parameters
-
- Returns
- True if entry is there, false otherwise
◆ get()
Find the UNDO space_id for a given UNDO space number from the mapping.
- Parameters
-
- Returns
- UNDO space_id
◆ m_num2id
Map from undo space_num to undo space_id.
The documentation for this class was generated from the following file: