MySQL 9.1.0
Source Code Documentation
|
#include <mysql/components/component_implementation.h>
#include <mysql/components/services/backup_lock_service.h>
Go to the source code of this file.
Functions | |
mysql_service_status_t | mysql_acquire_backup_lock (THD *opaque_thd, enum enum_backup_lock_service_lock_kind lock_kind, unsigned long lock_timeout) noexcept |
Service API to acquire shared Backup Lock. More... | |
mysql_service_status_t | mysql_release_backup_lock (THD *opaque_thd) noexcept |
Service API to release Backup Lock. More... | |
|
noexcept |
Service API to acquire shared Backup Lock.
opaque_thd | Current thread context. |
lock_kind | Kind of lock to acquire - BACKUP_LOCK_SERVICE_DEFAULT or weaker. |
lock_timeout | Number of seconds to wait before giving up. |
false | Success |
true | Failure |
|
noexcept |
Service API to release Backup Lock.
opaque_thd | Current thread context. |
false | Success |
true | Failure |