MySQL 8.0.40
Source Code Documentation
trx0purge.ic File Reference

Purge old versions. More...

#include "trx0undo.h"

Functions

static fil_addr_t trx_purge_get_log_from_hist (fil_addr_t node_addr)
 Calculates the file address of an undo log header when we have the file address of its history list node. More...
 
static bool trx_purge_check_limit (void)
 address of its history list node. More...
 

Detailed Description

Purge old versions.

Created 3/26/1996 Heikki Tuuri

Function Documentation

◆ trx_purge_check_limit()

static bool trx_purge_check_limit ( void  )
inlinestatic

address of its history list node.

Returns
true if purge_sys_t::limit <= purge_sys_t::iter

◆ trx_purge_get_log_from_hist()

static fil_addr_t trx_purge_get_log_from_hist ( fil_addr_t  node_addr)
inlinestatic

Calculates the file address of an undo log header when we have the file address of its history list node.

Returns
file address of the log
Parameters
node_addrin: file address of the history list node of the log