MySQL 9.1.0
Source Code Documentation
log0pfs.h File Reference

Redo log functions related to PFS tables for redo log. More...

Go to the source code of this file.

Functions

bool log_pfs_acquire_services (const mysql_service_registry_t *reg_srv)
 Acquire services required for redo log PFS tables. More...
 
void log_pfs_release_services (const mysql_service_registry_t *reg_srv)
 Release services that have been acquired for redo log PFS tables. More...
 
bool log_pfs_create_tables ()
 Create redo log PFS tables. More...
 
void log_pfs_delete_tables ()
 

Detailed Description

Redo log functions related to PFS tables for redo log.

Function Documentation

◆ log_pfs_acquire_services()

bool log_pfs_acquire_services ( const mysql_service_registry_t reg_srv)

Acquire services required for redo log PFS tables.

Parameters
[in,out]reg_srvregistry which allows to acquire services
Return values
truesuccess
falseerror

◆ log_pfs_create_tables()

bool log_pfs_create_tables ( )

Create redo log PFS tables.

Note that log_pfs_acquire_services() had to be called prior to calling this function. If the log_pfs_acquire_services() failed, then a call to this function is still allowed, but it will report an error then.

Remarks
When srv_read_only_mode is true, this function reports success, but does not create any tables.
Return values
truesuccess
falseerror

◆ log_pfs_delete_tables()

void log_pfs_delete_tables ( )

◆ log_pfs_release_services()

void log_pfs_release_services ( const mysql_service_registry_t reg_srv)

Release services that have been acquired for redo log PFS tables.

Parameters
[in,out]reg_srvregistry which was used to acquire the services