MySQL 8.4.2
Source Code Documentation
s_mysql_mysql_backup_lock Struct Reference

#include <backup_lock_service.h>

Public Attributes

mysql_service_status_t(* acquire )(THD *, enum enum_backup_lock_service_lock_kind, unsigned long)
 Service API to acquire shared Backup Lock. More...
 
mysql_service_status_t(* release )(THD *)
 Service API to release Backup Lock. More...
 

Member Data Documentation

◆ acquire

mysql_service_status_t(* s_mysql_mysql_backup_lock::acquire) (THD *, enum enum_backup_lock_service_lock_kind, unsigned long)

Service API to acquire shared Backup Lock.

Parameters
opaque_thdCurrent thread context.
lock_kindKind of lock to acquire - BACKUP_LOCK_SERVICE_DEFAULT or weaker.
lock_timeoutNumber of seconds to wait before giving up.
Returns
Operation status.
Return values
falseSuccess
trueFailure

◆ release

mysql_service_status_t(* s_mysql_mysql_backup_lock::release) (THD *)

Service API to release Backup Lock.

Parameters
opaque_thdCurrent thread context.
Returns
Operation status.
Return values
falseSuccess
trueFailure

The documentation for this struct was generated from the following file: